Install nvm if it's not already installed:
brew install nvm
Install v8.9.3 of nodejs:
nvm install 8.9.3
Use that version:
nvm use
Install dependencies:
yarn install
Start your server:
gatsby develop
That's it! The application is running on localhost:8000
To lint scss:
yarn run stylelint
Prepare an optimized production build:
gatsby build
Test the production build locally:
gatsby serve