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

npm start error #839

Closed
wfkbyni opened this issue Apr 14, 2015 · 4 comments
Closed

npm start error #839

wfkbyni opened this issue Apr 14, 2015 · 4 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@wfkbyni
Copy link

wfkbyni commented Apr 14, 2015

npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! react-native@0.3.11 start: ./packager/packager.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-native@0.3.11 start script './packager/packager.sh'.
npm ERR! This is most likely a problem with the react-native package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./packager/packager.sh
npm ERR! You can get their info via:
npm ERR! npm owner ls react-native
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/mac/Desktop/sych_github/react-native/npm-debug.log
MacdeMac-mini:react-native mac$ npm install
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! path /Users/mac/.npm/source-map/0.1.31
npm ERR! code EACCES
npm ERR! errno -13

npm ERR! Error: EACCES, mkdir '/Users/mac/.npm/source-map/0.1.31'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES, mkdir '/Users/mac/.npm/source-map/0.1.31']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! path: '/Users/mac/.npm/source-map/0.1.31',
npm ERR! parent: 'react-native' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/mac/Desktop/sych_github/react-native/npm-debug.log

@LeezQ
Copy link

LeezQ commented Apr 14, 2015

try running this command again as root/Administrator.

@Iragne
Copy link
Contributor

Iragne commented Apr 14, 2015

sudo npm start

@frantic
Copy link
Contributor

frantic commented Apr 14, 2015

Most likely your npm installation is weird, it happens sometimes when you install package with sudo or get node from official website (not brew). This might help (see the bottom of the page) http://facebook.github.io/react-native/docs/troubleshooting.html#npm-locking-error

@brentvatne
Copy link
Collaborator

@wfkbyni - feel free to ping me if the above solutions don't fix the problem, otherwise closing the issue

@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants