Madhur Madhur - 1 year ago 101
Android Question

How to setup google map in react native ? facing errors

Hey i am going to install google maps in react native by following commands

npm install react-native-maps --save


But it is showing me error down below :

[email protected] requires a peer of [email protected]>=0.40 but none was installed.


I have follwowing this tutorial

https://www.slideshare.net/kobkrit/reactnative-tutorial-map

Please check thanks in advance..

Answer Source

You're trying to install the newest version of react-native-maps and it's compatible with react-native >= 0.40. Upgrade your react-native or try to install older react-native-maps version. You can do that by running npm install [email protected] --save or even older version - check releases.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download