-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
npm start doesn't work after upgrade to 0.15.0 #4341
Comments
Hey Bhullnatik, thanks for reporting this issue! React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
|
Try adding react-native-cli to your (dev) dependencies. |
It works perfectly ! Thanks @radko93 |
Thanks, this works but is it the expected behavior? Shouldn't |
npm 3 might have broken global lookup of modules from npm run-scripts (I haven't verified... just a guess) |
@ide That's what my first thought was, but under the same node/npm configuration it works with React-Native 0.14.0, while it doesn't with the 0.15.0+. Thanks for your answer. |
It's not npm 3 case, I've tested it on npm v2 and archieved the same problem. |
Ran into the issue, resolved after plenty of head scratching by cleaning |
Solved on Stackoverflow http://stackoverflow.com/questions/33908314/packager-wont-start |
http://stackoverflow.com/questions/33908314/packager-wont-start, the following helps me
|
👍 adding cli as a dependency worked for me for android deploys |
Something went fishy with today's build. I had to: |
@GantMan same thing happened to me too. Reinstalling |
Adding react-native-cli to dev-deps doesn't solve the issue. What is the real issue here?
|
After npm install, $ ls -l node_modules/.bin/react-native
lrwxr-xr-x 1 madhu staff 47 May 17 15:04 node_modules/.bin/react-native -> ../react-native/local-cli/wrong-react-native.js |
Ah, nevermind
and then it works. Weird !! |
npm start
stopped working after upgrading to React-Native 0.15.0 yielding:Output of
npm -g list --depth=0
:Output of
npm list --depth=0
:To be noted, using
react-native start
works as expected, which make me think this is a npm bug but I'm not sure on how to get started.The text was updated successfully, but these errors were encountered: