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

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

详细信息

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 npm@6.9.0
3 info using node@v10.16.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle vue-element-quick-start@0.1.0~prebuild: vue-element-quick-start@0.1.0
6 info lifecycle vue-element-quick-start@0.1.0~build: vue-element-quick-start@0.1.0
7 verbose lifecycle vue-element-quick-start@0.1.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle vue-element-quick-start@0.1.0~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 vue-element-quick-start@0.1.0~build: CWD: D:\Desktop\家庭云\vue-element-quick-start
10 silly lifecycle vue-element-quick-start@0.1.0~build: Args: [ '/d /s /c', 'vue-cli-service build' ]
11 silly lifecycle vue-element-quick-start@0.1.0~build: Returned: code: 1  signal: null
12 info lifecycle vue-element-quick-start@0.1.0~build: Failed to exec build script
13 verbose stack Error: vue-element-quick-start@0.1.0 build: `vue-cli-service build`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (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.<anonymous> (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 vue-element-quick-start@0.1.0
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 vue-element-quick-start@0.1.0 build: `vue-cli-service build`
22 error Exit status 1
23 error Failed at the vue-element-quick-start@0.1.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

前往低代码交流专区

更多推荐