打包报错大佬帮忙看看什么问题呗!!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! docs@1.0.0 docs:build: vuepress build docs
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the docs@1.0.0 docs:build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\zhang\AppData\Roaming\npm-cache_logs\2019-07-23T10_40_13_516Z-debug.log
日志:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Users\zhang\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'docs:build' ]
2 info using npm@5.6.0
3 info using node@v8.9.3
4 verbose run-script [ 'predocs:build', 'docs:build', 'postdocs:build' ]
5 info lifecycle docs@1.0.0~predocs:build: docs@1.0.0
6 info lifecycle docs@1.0.0~docs:build: docs@1.0.0
7 verbose lifecycle docs@1.0.0~docs:build: unsafe-perm in lifecycle true
8 verbose lifecycle docs@1.0.0~docs:build: PATH: C:\Users\zhang\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\zhang\Desktop\vuepress\bolg\node_modules.bin;C:\Users\zhang\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\zhang\bin;C:\Users\zhang\Desktop\Java\jdk-9.0.4\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files\Git\cmd;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\nodejs;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Common Files\Autodesk Shared;C:\Program Files (x86)\Autodesk\Backburner;C:\Users\zhang\AppData\Local\Microsoft\WindowsApps;F:\Microsoft VS Code\bin;C:\Users\zhang\AppData\Roaming\npm;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
9 verbose lifecycle docs@1.0.0~docs:build: CWD: C:\Users\zhang\Desktop\vuepress\bolg
10 silly lifecycle docs@1.0.0~docs:build: Args: [ '/d /s /c', 'vuepress build docs' ]
11 silly lifecycle docs@1.0.0~docs:build: Returned: code: 1 signal: null
12 info lifecycle docs@1.0.0~docs:build: Failed to exec docs:build script
13 verbose stack Error: docs@1.0.0 docs:build: vuepress build docs
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Users\zhang\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:285: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. (C:\Users\zhang\AppData\Roaming\npm\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 docs@1.0.0
15 verbose cwd C:\Users\zhang\Desktop\vuepress\bolg
16 verbose Windows_NT 10.0.16299
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\zhang\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "docs:build"
18 verbose node v8.9.3
19 verbose npm v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error docs@1.0.0 docs:build: vuepress build docs
22 error Exit status 1
23 error Failed at the docs@1.0.0 docs:build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]