perry
November 8, 2019, 5:27pm
2
hi @Richard934 - we always recommend using the search to see if there are other people who already had this problem! in this case there are a bunch of questions:
Hi I’m new to jekyll deployment with Netlify. Everything works well on my localhost but won’t build on deployment.
“failed during stage ‘building site’: Build script returned non-zero exit code: 127”
My github repo is https://github.com/boschbird/xyz-dylanbird
Also in the deploy settings i have:
Build command: jekyll build
Publish directory: _site/
The following is the deployment log:
3:52:34 PM: Build ready to start
3:52:37 PM: build-image version: 9e0f207a27642d0115b1ca97cd5e8cebbe492f…
Apologies for the lengthy message, but this is my deploy log - Has anyone else run into this error? Preventing me from deploying site, and not sure how to fix!
11:46:21 PM: Started saving emacs cask dependencies
11:46:21 PM: Finished saving emacs cask dependencies
11:46:21 PM: Started saving maven dependencies
11:46:21 PM: Finished saving maven dependencies
11:46:21 PM: Started saving boot dependencies
11:46:21 PM: Finished saving boot dependencies
11:46:21 PM: Started saving go dependenc…
https://answers.netlify.com/t/error-running-command-build-script-returned-non-zero-exit-code-127/1851
I’ve tried deploying my Gatsby site from Netlify many times with the same error code 127 coming back. The site builds locally, and I get my site running locally with gatsby serve. The error states that the deploy failed during stage ‘building site’.
I have tried nuking and re-installing my node modules as well as clearing cache. I thought it may have something to do with my gatsby-config file, but everything looks okay there.
I’ve built and deployed this site many times before through Netlify,…
go ahead and work through these posts, and if the error persists, please provide some more information about your site, including your netlify name, what you have tried to fix the issue and we can take a closer look