Gatsby site 'page not found' when deploy on Netlify or Surge

All PostsPosts filtered by: so notes

Gatsby site 'page not found' when deploy on Netlify or Surge

Updated: August 20, 2019 by Tony Alves

Original: on Stackoverflow

Your Netlify setting should be as follows, if you are not going to use yarn.

Publish location: public
Build command: npm run build

/netlify.toml

[build]
publish = "public"
command = "npm run build"
© Tony Alves