0 info it worked if it ends with ok
1 verbose cli [ 'E:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'E:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using npm@6.9.0
3 info using node@v8.11.3
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle myproj@1.0.0~prebuild: myproj@1.0.0
6 info lifecycle myproj@1.0.0~build: myproj@1.0.0
7 verbose lifecycle myproj@1.0.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle myproj@1.0.0~build: PATH: E:\Program Files\nodejs\node_global\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;G:\VUE\vue-demo1\node_modules\.bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;E:\Program Files (x86)\MySQL\MySQL Server 5.5\bin;E:\Program Files\nodejs\node_global;E:\Program Files\Git\cmd;E:\Program Files\apache-ant-1.9.13\bin;E:\Program Files\Java\jdk1.7\jdk1.7.0_80\bin;E:\Program Files\Java\jdk1.7\jdk1.7.0_80\jre\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;G:\apache-tomcat-7.0.68\bin;G:\apache-tomcat-7.0.68\lib;E:\apache-maven-3.6.0\bin;E:\Program Files\TortoiseSVN\bin;C:\Users\Administrator\AppData\Roaming\npm;E:\Program Files\nodejs;E:\Program Files\nodejs\node_global
9 verbose lifecycle myproj@1.0.0~build: CWD: G:\VUE\vue-demo1
10 silly lifecycle myproj@1.0.0~build: Args: [ '/d /s /c', 'node build/build.js' ]
11 silly lifecycle myproj@1.0.0~build: Returned: code: 1  signal: null
12 info lifecycle myproj@1.0.0~build: Failed to exec build script
13 verbose stack Error: myproj@1.0.0 build: `node build/build.js`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (E:\Program Files\nodejs\node_global\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (E:\Program Files\nodejs\node_global\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid myproj@1.0.0
15 verbose cwd G:\VUE\vue-demo1
16 verbose Windows_NT 10.0.17134
17 verbose argv "E:\\Program Files\\nodejs\\node.exe" "E:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
18 verbose node v8.11.3
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error myproj@1.0.0 build: `node build/build.js`
22 error Exit status 1
23 error Failed at the myproj@1.0.0 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Logo

前往低代码交流专区

更多推荐