Ensure correct Node.js version (e.g., v14)
nvm use 14
Ensure that npm config points to a python 3 executable.
npm config set python /usr/bin/python3
Copy the .example.env and set the environment variables.
cp .example.env .env
Clean installation
npm install
If there are errors on optional packages
npm install --ignore-optional
for a temporary workaround
Start the development server
npm start
Open the source code and start editing!
Your site is now running at `http://localhost:8000`!
_Note: You'll also see a second link: _`http://localhost:8000/___graphql`_. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://www.gatsbyjs.org/tutorial/part-five/#introducing-graphiql)._