跳到主要内容
CNode

运行npm start遇到这个如下错误提示怎么破,win7下

问答
Llatheknox发布于 11 年前最后回复 11 年前
1264290

0 info it worked if it ends with ok 1 verbose cli [ 'D:\nodejs\\node.exe', 1 verbose cli 'D:\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'start' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info prestart [email protected] 6 info start [email protected] 7 verbose unsafe-perm in lifecycle true 8 info [email protected] Failed to exec start script 9 verbose stack Error: [email protected] start: node ./bin/www 9 verbose stack Exit status 1 9 verbose stack at EventEmitter. (D:\nodejs\node_modules\npm\lib\utils\lifecycle.js:213:16) 9 verbose stack at EventEmitter.emit (events.js:110:17) 9 verbose stack at ChildProcess. (D:\nodejs\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 [email protected] 11 verbose cwd D:\nodetest1\nodetest2 12 error Windows_NT 6.1.7601 13 error argv "D:\nodejs\\node.exe" "D:\nodejs\node_modules\npm\bin\npm-cli.js" "start" 14 error node v0.12.4 15 error npm v2.10.1 16 error code ELIFECYCLE 17 error [email protected] start: node ./bin/www 17 error Exit status 1 18 error Failed at the [email protected] start script 'node ./bin/www'. 18 error This is most likely a problem with the nodetest2 package, 18 error not with npm itself. 18 error Tell the author that this fails on your system: 18 error node ./bin/www 18 error You can get their info via: 18 error npm owner ls nodetest2 18 error There is likely additional logging output above. 19 verbose exit [ 1, true ]

查看回复

回复 (1)

L
latheknox#111 年前

已经发现问题了,jade写错一个字母。。。

参与回复

登录后即可参与回复。登录