Install nvm if it's not already installed:
brew install nvmInstall v8.9.3 of nodejs:
nvm install 8.9.3Use that version:
nvm useInstall dependencies:
yarn installStart your server:
gatsby developThat's it! The application is running on localhost:8000
To lint scss:
yarn run stylelintPrepare an optimized production build:
gatsby buildTest the production build locally:
gatsby serve