WorldWindEarth / worldwind-react-globe

A React component for interacting with the Web WorldWind virtual globe SDK from NASA and ESA
https://worldwind.earth/worldwind-react-globe/
MIT License
44 stars 19 forks source link

npm ERR! peer react@"^0.13.0 || ^0.14.0 || ^15.0.0 || ^16.0.0" from mobx-react@5.4.4 #77

Open Jthora opened 2 years ago

Jthora commented 2 years ago

I am pretty new to react, what the heck is going on here?

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: starcom@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"^18.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^0.13.0 || ^0.14.0 || ^15.0.0 || ^16.0.0" from mobx-react@5.4.4
npm ERR! node_modules/mobx-react
npm ERR!   peer mobx-react@"^5.1.2" from worldwind-react-globe@1.2.0
npm ERR!   node_modules/worldwind-react-globe
npm ERR!     worldwind-react-globe@"*" 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.
namratanakhale commented 10 months ago

@Jthora I am also facing same issue worldwind-react-globe@1.2.0 is not compatible with react 18.2.0 , is it resolved?

ComBatVision commented 10 months ago

We are currently not supporting legacy repositories, including worldwingjs.

Could you propose a pull request with fixed dependencies?