sbardian/gatsby-plugin-breadcrumb

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

Closed this issue · 5 comments

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

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.

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

@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?

@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

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