pc打包报错帮我看下这个什么问题
pc打包报错帮我看下这个什么问题
0 info it worked if it ends with ok
1 verbose cli [
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 'run',
1 verbose cli 'generate'
1 verbose cli ]
2 info using npm@6.14.18
3 info using node@v14.21.3
4 verbose run-script [ 'pregenerate', 'generate', 'postgenerate' ]
5 info lifecycle pcShop@1.0.0~pregenerate: pcShop@1.0.0
6 info lifecycle pcShop@1.0.0~generate: pcShop@1.0.0
7 verbose lifecycle pcShop@1.0.0~generate: unsafe-perm in lifecycle true
8 verbose lifecycle pcShop@1.0.0~generate: PATH: D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\wzcx\pc22\node_modules\.bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;d:\Program Files (x86)\Tencent\微信web开发者工具\dll;C:\ProgramData\chocolatey\bin;D:\Program Files\nodejs\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Roaming\npm
9 verbose lifecycle pcShop@1.0.0~generate: CWD: D:\wzcx\pc22
10 silly lifecycle pcShop@1.0.0~generate: Args: [ '/d /s /c', 'nuxt generate' ]
11 silly lifecycle pcShop@1.0.0~generate: Returned: code: 1 signal: null
12 info lifecycle pcShop@1.0.0~generate: Failed to exec generate script
13 verbose stack Error: pcShop@1.0.0 generate: `nuxt generate`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:400:28)
13 verbose stack at ChildProcess. (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:400:28)
13 verbose stack at maybeClose (internal/child_process.js:1088:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5)
14 verbose pkgid pcShop@1.0.0
15 verbose cwd D:\wzcx\pc22
16 verbose Windows_NT 10.0.19045
17 verbose argv "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "generate"
18 verbose node v14.21.3
19 verbose npm v6.14.18
20 error code ELIFECYCLE
21 error errno 1
22 error pcShop@1.0.0 generate: `nuxt generate`
22 error Exit status 1
23 error Failed at the pcShop@1.0.0 generate script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]