node.js - error log on npm start -
i know there lot of questions can't resolve myself, because i'm not sure error log talks about.
here is:
0 info worked if ends ok 1 verbose cli [ 'c:\\program files\\nodejs\\\\node.exe', 1 verbose cli 'c:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'start' ] 2 info using npm@2.5.1 3 info using node@v0.12.1 4 verbose node symlink c:\program files\nodejs\\node.exe 5 verbose run-script [ 'prestart', 'start', 'poststart' ] 6 info prestart essai_mongo@0.0.0 7 info start essai_mongo@0.0.0 8 verbose unsafe-perm in lifecycle true 9 info essai_mongo@0.0.0 failed exec start script 10 verbose stack error: essai_mongo@0.0.0 start: `node ./bin/www` 10 verbose stack exit status 1 10 verbose stack @ eventemitter.<anonymous> (c:\program files\nodejs\node_modules\npm\lib\utils\lifecycle.js:213:16) 10 verbose stack @ eventemitter.emit (events.js:110:17) 10 verbose stack @ childprocess.<anonymous> (c:\program files\nodejs\node_modules\npm\lib\utils\spawn.js:14:12) 10 verbose stack @ childprocess.emit (events.js:110:17) 10 verbose stack @ maybeclose (child_process.js:1008:16) 10 verbose stack @ process.childprocess._handle.onexit (child_process.js:1080:5) 11 verbose pkgid essai_mongo@0.0.0 12 verbose cwd c:\users\***\essai_mongo 13 error windows_nt 6.1.7601 14 error argv "c:\\program files\\nodejs\\\\node.exe" "c:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start" 15 error node v0.12.1 16 error npm v2.5.1 17 error code elifecycle 18 error essai_mongo@0.0.0 start: `node ./bin/www` 18 error exit status 1 19 error failed @ essai_mongo@0.0.0 start script 'node ./bin/www'. 19 error problem essai_mongo package, 19 error not npm itself. 19 error tell author fails on system: 19 error node ./bin/www 19 error can info via: 19 error npm owner ls essai_mongo 19 error there additional logging output above. 20 verbose exit [ 1, true ] also, here package.json
{ "name": "essai_mongo", "version": "0.0.0", "private": true, "scripts": { "start": "node ./bin/www" }, "dependencies": { "body-parser": "~1.12.0", "cookie-parser": "~1.3.4", "debug": "~2.1.1", "express": "~4.12.2", "jade": "~1.9.2", "morgan": "~1.5.1", "serve-favicon": "~2.2.0", "mongoose": "^4.0.0" } } i don't know if i't administratot rights, start path on package.json (i've tried c:\users\***\essai_mongo\bin\www), environment variable,.. appreciate
Comments
Post a Comment