-
Notifications
You must be signed in to change notification settings - Fork 18
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
[Bug]: Netlify Gatsby plugin causes build failures on Gatsby 2.x site #556
Comments
I had a similar issue. Netlify deployments were broken. Gatsby version: 2.24.91 Solved it by installing @gatsbyjs/reach-router |
Yep, my build is broken as well. Here's the entire log:
|
Thanks, this works, for people using React 16, you can use this npm (in docs is 17 & 18 but works with 16 React) https://www.npmjs.com/package/@gatsbyjs/reach-router/v/1.3.9 |
Thanks for the reports evenryone. The issue seems to be that it's trying to import the Gatsby Functions template, even in old versions of Gatsby that don't support it. That template uses the Gatsby |
That did it. Thank you for the super fast fix. 🚀 |
Thank you all for notifying us on this issue, we've pushed out a fix for the reach-router error here |
I have similar problem and i am not programmer, I am using stackbit v1, contentful and after they deprecated v1, my sites stopped updating 2:38:26 PM: Build ready to start |
Summary
I see that you have left the 1.0.3 version of the netlify gatsby plugin accessible to older Gatsby sites, per plugins.json.
But I think you set this version exception too low, and the exception should instead be "gatsby": "<3.0.0", per this PR.
I noticed this because my v2 gatsby site that has been building fine for a few years started failing today.
Steps to reproduce
Try building a gatsby site < v3 (the screenshot is for gatsby 2.23.14)
A link to a reproduction repository
No response
Plugin version
3.5.1
More information about your build
netlify.toml
)What OS are you using?
None
Your netlify.toml file
No response
Configuration
No response
Environment
No response
Gatsby info
gatsby 2.23.14
Your _redirects file
No response
Builds logs (or link to your logs)
https://app.netlify.com/teams/emcwebmaster71/builds/63dc673f2281a7737627e527
Function logs
No response
The text was updated successfully, but these errors were encountered: