首页 > npm run build 日志分析

npm run build 日志分析

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   'run',
1 verbose cli   'build' ]
2 info using npm@2.14.2
3 info using node@v4.0.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info prebuild react-template@0.0.1
6 info build react-template@0.0.1
7 verbose unsafe-perm in lifecycle true
8 info react-template@0.0.1 Failed to exec build script
9 verbose stack Error: react-template@0.0.1 build: `set NODE_ENV=production && gulp`
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter.<anonymous> (D:\nodejs\node_modules\npm\lib\utils\lifecycle.js:214:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess.<anonymous> (D:\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:817:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid react-template@0.0.1
11 verbose cwd E:\zan\www\webpack\react-template
12 error Windows_NT 6.1.7601
13 error argv "D:\\nodejs\\node.exe" "D:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
14 error node v4.0.0
15 error npm  v2.14.2
16 error code ELIFECYCLE
17 error react-template@0.0.1 build: `set NODE_ENV=production && gulp`
17 error Exit status 1
18 error Failed at the react-template@0.0.1 build script 'set NODE_ENV=production && gulp'.
18 error This is most likely a problem with the react-template package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     set NODE_ENV=production && gulp
18 error You can get their info via:
18 error     npm owner ls react-template
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
【热门文章】
【热门文章】