-
Notifications
You must be signed in to change notification settings - Fork 112
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
Fail to run npm start #143
Comments
Hi. You need to run
|
Hi, I followed your instruction. But I still get same errors. Before I do npm install,I did rm -rf node_modules. |
I just tried, and it worked though.
I am not sure whether anything to do with your node version as it looks quite old. Mine is
also what is the message on the terminal? |
yeah, my node version is pretty old. That probably cause the problem. |
node --version I have other programs depending on the nodes version. So I probably will not update the node version. |
Since you use, nvm, you could test it seperately though. But, I am not sure which dependency is not compatible with your node version. |
Hi,
I was trying to run npm start after I didn't npm install under examples directory. But I got errors. Here is the npm_error.log. Please help me to figure it out. Thanks!
0 info it worked if it ends with ok
1 verbose cli [ '/Users/yinglinchen/.nvm/versions/node/v0.12.4/bin/node',
1 verbose cli '/Users/yinglinchen/.nvm/versions/node/v0.12.4/bin/npm',
1 verbose cli 'start' ]
2 info using npm@2.10.1
3 info using node@v0.12.4
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart react-forms-examples@1.0.0
6 info start react-forms-examples@1.0.0
7 verbose unsafe-perm in lifecycle true
8 info react-forms-examples@1.0.0 Failed to exec start script
9 verbose stack Error: react-forms-examples@1.0.0 start:
node server.js
9 verbose stack Exit status 1
9 verbose stack at EventEmitter. (/Users/yinglinchen/.nvm/versions/node/v0.12.4/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
9 verbose stack at EventEmitter.emit (events.js:110:17)
9 verbose stack at ChildProcess. (/Users/yinglinchen/.nvm/versions/node/v0.12.4/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at ChildProcess.emit (events.js:110:17)
9 verbose stack at maybeClose (child_process.js:1015:16)
9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
10 verbose pkgid react-forms-examples@1.0.0
11 verbose cwd /Users/yinglinchen/src/react-forms/examples
12 error Darwin 14.5.0
13 error argv "/Users/yinglinchen/.nvm/versions/node/v0.12.4/bin/node" "/Users/yinglinchen/.nvm/versions/node/v0.12.4/bin/npm" "start"
14 error node v0.12.4
15 error npm v2.10.1
16 error code ELIFECYCLE
17 error react-forms-examples@1.0.0 start:
node server.js
17 error Exit status 1
18 error Failed at the react-forms-examples@1.0.0 start script 'node server.js'.
18 error This is most likely a problem with the react-forms-examples package,
18 error not with npm itself.
The text was updated successfully, but these errors were encountered: