I ran into an annoying issue when relaunching this blog.
The strange thing was that
yarn build would build Gatsby successfully locally (I'm on OSX) but the Netlify build would fail 🤦🏻♂️.
It turns out the issue was because of a case difference in what some files were requiring and the name of the file.
The reason it was working locally, is that OSX will automatically resolve the issue, but the Netlify build server is Linux, and will fail.
The fix that resolved the issue was to run the following command.
$ git config core.ignorecase false
Credit to user: <a href='https://github.com/gatsbyjs/gatsby/issues/8205#issuecomment-444876531' target='blank'>pedrouid on GitHub_