Skip to content
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

Plugin gatsby-plugin-breadcrumb is not compatible with your gatsby version 5.5.0 - It requires gatsby@^3.0.0 || ^4.0.0 #224

Closed
larsmaeder opened this issue Jan 27, 2023 · 5 comments

Comments

@larsmaeder
Copy link
Contributor

npm error when using npm install gatsby-plugin-breadcrumb:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: my-gatsby-site@1.0.0
npm ERR! Found: gatsby@5.5.0
npm ERR! node_modules/gatsby
npm ERR!   gatsby@"^5.5.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer gatsby@"^3.0.0 || ^4.0.0" from gatsby-plugin-breadcrumb@12.3.1
npm ERR! node_modules/gatsby-plugin-breadcrumb
npm ERR!   gatsby-plugin-breadcrumb@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

With the workaround npm install gatsby-plugin-breadcrumb --legacy-peer-deps the plugin seems to work fine with gatsby@5.5.0, except for the dependency warnings/errors.

Gatsby warning when using npm run develop | gatsby develop:

warn Plugin gatsby-plugin-breadcrumb is not compatible with your gatsby version 5.5.0 - It requires gatsby@^3.0.0 || ^4.0.0
@github-actions
Copy link

Thanks for creating an issue! I try to respond as quickly as possible to all issues. If it has been a while feel free to mention me to get my attention.

@Valeryia7719
Copy link

Hello, @larsmaeder! Did you find how we can resolve it for gatsby 5? May be other plugin or something other?

@sbardian
Copy link
Owner

@Valeryia7719 Sorry Valeryia. I don't have much time to keep up with this project or Gatsby in general these days. PR's welcome, or if you would be interested in forking and taking over supporting?

@larsmaeder
Copy link
Contributor Author

@sbardian I have created a pull request that will probably fix the problem. Code should still work. It seems that the problem was just the reference in peerDependencies. #228

@sbardian
Copy link
Owner

sbardian commented Mar 6, 2023

@larsmaeder I went ahead and merged/published this. Hopefully all is well. Thanks!

@sbardian sbardian closed this as completed Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants