这是错误日志
0 info it worked if it ends with ok
1 verbose cli [
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 'run',
1 verbose cli 'build'
1 verbose cli ]
2 info using npm@6.14.13
3 info using node@v14.17.1
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle think_fast_node@1.0.0~prebuild: think_fast_node@1.0.0
6 verbose lifecycle think_fast_node@1.0.0~prebuild: unsafe-perm in lifecycle true
7 verbose lifecycle think_fast_node@1.0.0~prebuild: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\netapp\dnode\web-server\node_modules.bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\nodejs\;C:\Users\admin\AppData\Local\Microsoft\WindowsApps;C:\Users\admin\AppData\Local\BypassRuntm;D:\文件\Microsoft VS Code\bin;C:\Users\admin\AppData\Roaming\npm
8 verbose lifecycle think_fast_node@1.0.0~prebuild: CWD: D:\netapp\dnode\web-server
9 silly lifecycle think_fast_node@1.0.0~prebuild: Args: [ '/d /s /c', 'rimraf output' ]
10 silly lifecycle think_fast_node@1.0.0~prebuild: Returned: code: 0 signal: null
11 info lifecycle think_fast_node@1.0.0~build: think_fast_node@1.0.0
12 verbose lifecycle think_fast_node@1.0.0~build: unsafe-perm in lifecycle true
13 verbose lifecycle think_fast_node@1.0.0~build: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\netapp\dnode\web-server\node_modules.bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\nodejs\;C:\Users\admin\AppData\Local\Microsoft\WindowsApps;C:\Users\admin\AppData\Local\BypassRuntm;D:\文件\Microsoft VS Code\bin;C:\Users\admin\AppData\Roaming\npm
14 verbose lifecycle think_fast_node@1.0.0~build: CWD: D:\netapp\dnode\web-server
15 silly lifecycle think_fast_node@1.0.0~build: Args: [ '/d /s /c', 'pkg . -o output/web-server -t linux' ]
16 silly lifecycle think_fast_node@1.0.0~build: Returned: code: 2 signal: null
17 info lifecycle think_fast_node@1.0.0~build: Failed to exec build script
18 verbose stack Error: think_fast_node@1.0.0 build: pkg . -o output/web-server -t linux
18 verbose stack Exit status 2
18 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
18 verbose stack at EventEmitter.emit (events.js:375:28)
18 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
18 verbose stack at ChildProcess.emit (events.js:375:28)
18 verbose stack at maybeClose (internal/child_process.js:1055:16)
18 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
19 verbose pkgid think_fast_node@1.0.0
20 verbose cwd D:\netapp\dnode\web-server
21 verbose Windows_NT 10.0.18363
22 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
23 verbose node v14.17.1
24 verbose npm v6.14.13
25 error code ELIFECYCLE
26 error errno 2
27 error think_fast_node@1.0.0 build: pkg . -o output/web-server -t linux
27 error Exit status 2
28 error Failed at the think_fast_node@1.0.0 build script.
28 error This is probably not a problem with npm. There is likely additional logging output above.
29 verbose exit [ 2, true ]