How to install dependencies

Hello,

I have npm WARN, that some peer dependencies are required, but when I install them with npm i -s, my expo project fails to start. It works if I don’t install those dependencies, but since I’m unexperienced, I fear that I might run into future issues, if I ignore those warnings now.

Required dependencies:
react@16.0.0-alpha.6
react-native@^0.44.1
react-native@^0.55.4
webpack@^3.0.0

package.json:
“dependencies”: {
“expo”: “^32.0.0”,
“react”: “16.5.0”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz
},

I tried googling for few hours, but couldn’t find anything. It seems like I’m the only one having this issue… LOL. My PC is pretty slow and takes 20min to init new expo, so please save me, good people. <3

hi @aeom expo actually use its own version of react-native that is stable with your current version of expo. note that its also “normal” to meet libraries that actually need an updated version of another one but in must case they will just work so keep going.
Technology goes fast so every library could not be at the same version :grin:.
do not install any of them:
react@16.0.0-alpha.6
react-native@^0.44.1
react-native@^0.55.4
webpack@^3.0.0

1 Like

Thank you very much, sir! :slight_smile:

you are welcome