首页 > npm install错误

npm install错误

0 info it worked if it ends with ok
1 verbose cli [ 'D:\Program Files\nodejs\node.exe',
1 verbose cli 'D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using npm@2.15.5
3 info using node@v4.4.5
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart bleeding-edge-sample-app@0.0.1
6 verbose unsafe-perm in lifecycle true
7 info bleeding-edge-sample-app@0.0.1 Failed to exec prestart script
8 verbose stack Error: bleeding-edge-sample-app@0.0.1 prestart: npm run-script build
8 verbose stack Exit status 1
8 verbose stack at EventEmitter.<anonymous> (D:Program Filesnodejsnode_modulesnpmlibutilslifecycle.js:217:16)
8 verbose stack at emitTwo (events.js:87:13)
8 verbose stack at EventEmitter.emit (events.js:172:7)
8 verbose stack at ChildProcess.<anonymous> (D:Program Filesnodejsnode_modulesnpmlibutilsspawn.js:24:14)
8 verbose stack at emitTwo (events.js:87:13)
8 verbose stack at ChildProcess.emit (events.js:172:7)
8 verbose stack at maybeClose (internal/child_process.js:827:16)
8 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
9 verbose pkgid bleeding-edge-sample-app@0.0.1
10 verbose cwd C:UsersbinDocumentsGitHubbleeding-edge-sample-app
11 error Windows_NT 6.1.7601
12 error argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
13 error node v4.4.5
14 error npm v2.15.5
15 error code ELIFECYCLE
16 error bleeding-edge-sample-app@0.0.1 prestart: npm run-script build
16 error Exit status 1
17 error Failed at the bleeding-edge-sample-app@0.0.1 prestart script 'npm run-script build'.
17 error This is most likely a problem with the bleeding-edge-sample-app package,
17 error not with npm itself.
17 error Tell the author that this fails on your system:
17 error npm run-script build
17 error You can get information on how to open an issue for this project with:
17 error npm bugs bleeding-edge-sample-app
17 error Or if that isn't available, you can get their info via:
17 error
17 error npm owner ls bleeding-edge-sample-app
17 error There is likely additional logging output above.
18 verbose exit [ 1, true ]


npm cache clean

然后

npm install

【热门文章】
【热门文章】