Skip to content
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

Packager failing to start after installation (create-react-native-app) #21

Closed
mikehamil10 opened this issue Jul 3, 2017 · 1 comment

Comments

@mikehamil10
Copy link

If you start a new project with crna then do an npm (or yarn, I tried both) installation of react-native-ui-kitten, the packager (and subsequently the app itself), stop working. The exact error message is:

`yarn start v0.27.5
$ react-native-scripts start
12:42:40 PM: Starting packager...
ERROR STARTING PACKAGER

Error: You are using npm version 5.0.4. Please use an npm version that is >= 3.0.0 and < 5.0.0.
12:42:41 PM: Error starting packager: Error: Couldn't start project. Please fix the errors and restart the project.
at /xdl/src/Project.js:1038:11
at next (native)
at step (/Users/mike/Developer/clubready/presentation-viewer/node_modules/xdl/build/Project.js:1468:191)
at /Users/mike/Developer/clubready/presentation-viewer/node_modules/xdl/build/Project.js:1468:361
error Command failed with exit code 1.`

This issue led to believe there was something wrong with my Node/NPM installation, so I completely uninstalled and re-installed the LTS version. My node is 6.11.0 and my NPM is 3.10.10 (so I have NO idea why the error message says I'm using npm 5.0.4).

Simply uninstalling the package again fixes everything, which is unfortunate because I'm unable to use this library entirely.

@mikehamil10
Copy link
Author

OK, I just realized that this is duplicate of #19, and it is resolvable by simply doing an npm install npm@4.6.1 WITHIN the project folder.

This is obviously a problem if 2 people have opened issues for it in as many days, hopefully it gets sorted at some point...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant