tomchentw / react-google-maps

React.js Google Maps integration component
https://tomchentw.github.io/react-google-maps/
MIT License
4.62k stars 939 forks source link

Error when installing #1092

Open arinconc opened 2 years ago

arinconc commented 2 years ago

Whe I run: npm install --save react-google-maps, y get this error

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree ... npm ERR! Found: react@17.0.2 npm ERR! node_modules/react npm ERR! react@"^17.0.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^15.0.0 || ^16.0.0" from react-google-maps@9.4.5 npm ERR! node_modules/react-google-maps npm ERR! react-google-maps@"*" from the root project

Thanks a lot!! Antonio

miamorekun commented 1 year ago

me to!

mrinmoygh081 commented 1 year ago

I'm facing the same problem.

mrinmoygh081 commented 1 year ago

#1071 Here is the solution