[npm-issue] packages removed / not available after install
after running "npm i react-native-firebase --save" i get the following message:
**added 31 packages, removed 649 packages and updated 113 packages in 19.899s**
and when i try to run "react-native run-ios", i get "Command run-ios unrecognized"
what am doing wrong ?
Same here, the install removes all of the react native packages etc for some reason
Hmm this is a weird one - what are your npm versions @barjas @SamMatthewsIsACommonName - this may be a npm v5 issue - can you down grade your npm and give it a whirl - see if it's actually that?
OK I will do after dinner. My project is now broken again so I need to start a new one. I've been battling cocoapods/ problems with latest react native for last 5 hours straight and about to pull my hair out haha
Looks like other npm 5 users are facing the same issue:
https://github.com/npm/npm/issues/17379 https://github.com/npm/npm/issues/17384
Rollback to 4 for now and you should be good.
Will leave this open for now until the npm issue is resolved.
Sometimes I have to switch to yarn if npm install have problem (with npm 5.0.3 since it comes with node 8.1.2 by default)
@Salakar according to https://github.com/npm/npm/issues/17384 this was fixed in npm 5.1.0. I've just updated to npm 5.3.0 and everything seemed to work ok, so will close this issue.