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

Dependency error #121

Open
odyslam opened this issue Jun 10, 2021 · 1 comment
Open

Dependency error #121

odyslam opened this issue Jun 10, 2021 · 1 comment

Comments

@odyslam
Copy link

odyslam commented Jun 10, 2021

Hey,

Thanks for this awesome package. I am using it as the menu for my website (will share more, perhaps interesting use-case).

Currently, out of a sudden I have this error and I am unable to build the website using Gatsby. Super new to react and web-dev, so I am not sure how to handle this:

npm update         npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/graphql
npm WARN   graphql@"^15.4.0" from [email protected]
npm WARN   node_modules/gatsby
npm WARN     gatsby@"^3.2.1" from the root project
npm WARN     16 more (gatsby-plugin-feed, gatsby-plugin-google-analytics, ...)
npm WARN   1 more (eslint-plugin-graphql)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer graphql@"^14.4.1" from [email protected]
npm WARN node_modules/express-graphql
npm WARN   express-graphql@"^0.9.0" from [email protected]
npm WARN   node_modules/gatsby
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/react-graph-vis/node_modules/uuid
npm WARN   uuid@"^2.0.1" from [email protected]
npm WARN   node_modules/react-graph-vis
npm WARN     react-graph-vis@"^1.0.7" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer uuid@"^7.0.0 || ^8.0.0" from [email protected]
npm WARN node_modules/react-graph-vis/node_modules/vis-data
npm WARN   vis-data@"^7.1.2" from [email protected]
npm WARN   node_modules/react-graph-vis
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: [email protected]
npm ERR! node_modules/react-graph-vis/node_modules/uuid
npm ERR!   uuid@"^2.0.1" from [email protected]
npm ERR!   node_modules/react-graph-vis
npm ERR!     react-graph-vis@"^1.0.7" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer uuid@"^3.4.0 || ^7.0.0 || ^8.0.0" from [email protected]
npm ERR! node_modules/react-graph-vis/node_modules/vis-network
npm ERR!   vis-network@"^9.0.0" from [email protected]
npm ERR!   node_modules/react-graph-vis
npm ERR!     react-graph-vis@"^1.0.7" from the root project
npm ERR!

This dependency error happened at the same time with gatsbyjs/gatsby#31762 , so they are probably correlated.

Any tips?

@dbvisel
Copy link

dbvisel commented Jul 8, 2021

(same thing happened to me when I just tried to update a Gatsby 3 project – this had been working fine.)

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

2 participants