“Error running command: Build script returned non-zero exit code” when deploying Gatsby JS site to Netlify
问题 I recently came across Gatsby JS (https://github.com/gatsbyjs/gatsby) and decided to build my portfolio site on top of the generator. So I forked their starter site (gatsby-starter-default) and built my portfolio with it (https://github.com/ArchieHicklin/Archie) Locally (using ' gatsby develop ') it runs fine - but when I deploy to Netlify with ' gatsby build ' I get this error: 11:30:58 AM: Build started 11:30:59 AM: Fetching cached dependencies 11:30:59 AM: Expected build cache - but failed