react-graph-vis
react-graph-vis copied to clipboard
Dependency error
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 https://github.com/gatsbyjs/gatsby/issues/31762 , so they are probably correlated.
Any tips?
(same thing happened to me when I just tried to update a Gatsby 3 project – this had been working fine.)