-
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
Deploy to Netlify failing #24389
Comments
Did you try building locally first? |
Yes, works 100% locally, and it was working last time I deployed a couple months ago, I think it may have to do with the updated gatsby-cli package |
The same problem, local 100% . Netlify PWA broke |
Any chance you guys are using Netlify Plugins? |
Same exact issue here, I haven't deployed for a few months.
|
Netlify deploy
|
Hey @seanngpack, I was running into the exact same issue and I ended up fixing it by setting a higher Node.js version in Netlify. My Netlify build was defaulting to v8.17.0 when Gatsby needs v10.13.0 or higher. I committed a Hope this helps! |
Thank you this worked for me! NODE_VERSION 10 |
Thanks, this is working for me now too with that same error: I opted for a |
Thank you for opening this! You can remove We're marking this issue as answered and closing it for now but please feel free to comment here if you would like to continue this discussion. We also recommend heading over to our communities if you have questions that are not bug reports or feature requests. We hope we managed to help and thank you for using Gatsby! |
This worked! Thanks @lpatino10 |
Description
Was wondering if anyone has this issue? Cannot deploy Gatsby blog on netlify as of recently. Gatsby build and develop works perfectly fine on local.
Steps to reproduce
Build and deploy on netlify.
Repo: https://github.com/seanngpack/Seans-Portfolio
How to Make a Minimal Reproduction: https://www.gatsbyjs.org/contributing/how-to-make-a-reproducible-test-case/
Expected result
Netlify error seems to be related to Gatsby-cli. Here is a snippet of the build log from Netlify. This is the only error logged and it starts when Netlify calls
gatsby build
Environment
click to expand
System:
OS: macOS 10.15.4
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.3.0 - /usr/local/bin/node
npm: 6.14.5 - /usr/local/bin/npm
Languages:
Python: 3.7.7 - /usr/local/opt/python/libexec/bin/python
Browsers:
Chrome: 81.0.4044.138
Safari: 13.1
npmPackages:
gatsby: ^2.22.9 => 2.22.9
gatsby-image: ^2.2.33 => 2.4.5
gatsby-plugin-feed: ^2.3.21 => 2.5.3
gatsby-plugin-google-analytics: ^2.1.28 => 2.3.2
gatsby-plugin-manifest: ^2.2.29 => 2.4.9
gatsby-plugin-react-helmet: ^3.1.15 => 3.3.2
gatsby-plugin-remove-serviceworker: ^1.0.0 => 1.0.0
gatsby-plugin-sharp: ^2.3.2 => 2.6.9
gatsby-plugin-typography: ^2.3.17 => 2.5.2
gatsby-remark-copy-linked-files: ^2.1.30 => 2.3.3
gatsby-remark-embed-video: ^2.0.1 => 2.0.1
gatsby-remark-images: ^3.1.33 => 3.3.8
gatsby-remark-prismjs: ^3.3.24 => 3.5.2
gatsby-remark-responsive-iframe: ^2.2.27 => 2.4.3
gatsby-remark-smartypants: ^2.1.16 => 2.3.2
gatsby-source-filesystem: ^2.1.38 => 2.3.8
gatsby-transformer-remark: ^2.6.37 => 2.8.13
gatsby-transformer-sharp: ^2.3.5 => 2.5.3
npmGlobalPackages:
gatsby-cli: 2.12.34
The text was updated successfully, but these errors were encountered: