Problem
I am trying to install Airbnb-based adaptive maps in my project. Installation Instructions:
airbnb / response-native-maps / installation
When I run the following command in cmd: npm install react-native-maps --save
This is what I get: `- react-native-maps@0.14.0 npm WARN response-native-maps@0.14.0 requires peer-to-peer interaction @> = 15.4.0, but none of them have been installed.
Ignoring this if I continue the installation and run the following command: react-native link react-native-maps
This is what I get: Scanning 561 folders for symbolic links in C: \ RNProjects \ Mapp \ node_modules (39ms) rnpm-install info Dependency binding i-to-depend-maps rnpm-install info iOS module response-native-maps successfully connected
^ As you can see, only modules associated with iOS cards are installed. When checking the project directory, I was able to verify that the module associated with Android was not installed.
Troubleshooting
Here is a list of things that I tried to solve the problem, but none of them worked.
- Tried installation
npm install react@15.4.0 --save
Received the following warnings:
npm WARN react-native@0.43.3 @16.0.0-alph.6, .
npm WARN response-test-renderer@16.0.0-alpha.6 @@1616.0.0-alpha.6, .
, , response@16.0.0-alpha.6 : npm install react@16.0.0-alpha.6
.
:
npm WARN response-native-maps@0.14.0 @ >= 15.4.0, .
- -native
npm update react-native
.
- .
- npm:
npm install npm@latest -g
.
.
- response-native: 0.43.3
- response-native-cli: 2.0.1
- : Android
- : Windows 10