Vue 前端笔记 采坑 | verbose stack Error: vue-element-xxx build: `vue-cli-service build`

vue 项目 运行 npm run build 出现如下错误,记录下来,希望可以解答。

这是在GitHub 上 找的一份项目 https://github.com/chachaxw/vue-element-quick-start

Vue 前端笔记 采坑 | verbose stack Error: vue-element-xxx build: `vue-cli-service build`_第1张图片

详细信息

0 info it worked if it ends with ok
1 verbose cli [ 'E:\\Java\\nodejs\\node.exe',
1 verbose cli   'E:\\Java\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]~prebuild: [email protected]
6 info lifecycle [email protected]~build: [email protected]
7 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~build: PATH: E:\Java\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\Desktop\家庭云\vue-element-quick-start\node_modules\.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Java\Maven\apache-maven-3.5.3\bin;E:\User\Git\cmd;E:\Java\jdk1.8.0_191\\bin;E:\Java\nodejs\;C:\Users\Administrator\AppData\Roaming\npm
9 verbose lifecycle [email protected]~build: CWD: D:\Desktop\家庭云\vue-element-quick-start
10 silly lifecycle [email protected]~build: Args: [ '/d /s /c', 'vue-cli-service build' ]
11 silly lifecycle [email protected]~build: Returned: code: 1  signal: null
12 info lifecycle [email protected]~build: Failed to exec build script
13 verbose stack Error: [email protected] build: `vue-cli-service build`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter. (E:\Java\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:198:13)
13 verbose stack     at ChildProcess. (E:\Java\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:198:13)
13 verbose stack     at maybeClose (internal/child_process.js:982:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd D:\Desktop\家庭云\vue-element-quick-start
16 verbose Windows_NT 6.1.7601
17 verbose argv "E:\\Java\\nodejs\\node.exe" "E:\\Java\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
18 verbose node v10.16.0
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] build: `vue-cli-service build`
22 error Exit status 1
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

 

 

你可能感兴趣的:(vue)