-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gatsby deployment fails on Codeship CI #5416
Comments
Update somehow
But now none of the plugins are installed. I get the following errors
|
So i was curious if it was the latest npm version and it indeed was. Downgrading it allows Codeship to build the project. Guess its not always great to rely on the latest version of NPM all the time 😄
Script commands
|
Description
My website project fails to build and deploy on the Codeship CI. It works locally and generates the static files as expected
Steps to reproduce
Expected result
The project should build successfully
Actual result
At the
gatsby build
step i get this errorerror There was a problem loading the local build command. Gatsby may not be installed. Perhaps you need to run "npm install"?
Note: This error has appeared before as per my initial investigation and it was apparently fixed in the latest cli. I have the latest versions too that I've outlined below
Related links #1899 #1897
Environment
npm list gatsby
): [email protected]gatsby --version
): 1.9.260File contents (if changed)
gatsby-config.js
: N/Apackage.json
:gatsby-node.js
: N/Agatsby-browser.js
: N/Agatsby-ssr.js
: N/Agatsby-config.js
The text was updated successfully, but these errors were encountered: