-
Notifications
You must be signed in to change notification settings - Fork 935
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
Could not resolve dependency: react@"^15.0.0 || ^16.0.0" from [email protected] #1071
Comments
Same problem, any update here? |
@porot07 @eddOrnelas The repo of this project is unmaintained more than 3 years, and we had build new version https://www.npmjs.com/package/@react-google-maps/api Supporting react 17 since version 2 We had rewrite it to TypeScript, and updating it frequently: https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api You can see our docs: https://react-google-maps-api-docs.netlify.app Also a lot of examples: https://react-google-maps-api-gatsby-demo.netlify.app/ https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api-gatsby-example/src/examples The bundle size is much smaller: https://bundlephobia.com/result?p=@react-google-maps/api Enjoy! |
@JustFly1984 yes i just found out and used the new version, sorry for asking updates before researching XD |
Well since it is not maintained for more than 3+ years, it should be mentioned somewhere in https://www.npmjs.com/package/react-google-maps or https://github.com/tomchentw/react-google-maps docs that it is recommended to switch to https://www.npmjs.com/package/@react-google-maps/api :-? |
@DarkAng3L Nobody has access to the repo. Possibly an author died or not interested in open source anymore, so there is no option to do what you want. In general it is a good practice to look how your dependencies maintained before using it in your project. There is almost always a better alternative. |
@JustFly1984 thank you for forking, appreciated! |
I have a React project that I build about 4 years ago. Now I'm trying to update my react project. However, I did encounter this error that's mentioned above. So how do I fix this error? I tried npm uninstall react-google-maps but all I got was this:
What steps do I need to take to resolve those errors and update all the old packages? |
any update? |
Hello, I tried install
react-google-maps
on my project and I got error:The text was updated successfully, but these errors were encountered: