Getting Started
We suggest using Node v16 and yarn (
npm i -g yarn)Clone the repo
git clone https://github.com/CollActionteam/website.gitcopy-paste file
.env.example, rename it to.env.localand fill in the secrets if neededNavigate to the website folder in your terminal
Install the dependencies
yarnStart the development server
yarn devOpen http://localhost:3000 in your browser and the website folder in your preferred code editor
When starting the server you might receive the following error:
Error: The specified module could not be found.Which is caused by:
@next\swc-win32-x64-msvc\next-swc.win32-x64-msvc.nodeYou can track the issue on this Next.js discussion
Want a quick fix? Upgrade to Node 16, if you haven't. Otherwise, you create a
.babelrcin the root of your directory and paste the following:{ "presets": ["next/babel"] }
If you are using VSCode, you'll probably want to download the suggested extentions
Last updated