vue3+ts项目 build打包报错 项目可以serve起来 这一块的话大概是什么问题
log日志
0 info it worked if it ends with ok
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' ]
2 info using npm@6.9.0
3 info using node@v10.16.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle vstecs_dic_h5@0.1.0~prebuild: vstecs_dic_h5@0.1.0
6 info lifecycle vstecs_dic_h5@0.1.0~build: vstecs_dic_h5@0.1.0
7 verbose lifecycle vstecs_dic_h5@0.1.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle vstecs_dic_h5@0.1.0~build: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\vue\vstecs_dic_h5\node_modules\.bin;C:\Program Files (x86)\NetSarang\Xshell 6\;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;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)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;node_global\;node_global\node_modules;node_global;C:\Program Files\Git\cmd;C:\Program Files\apache-maven-3.6.3\bin;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\ProgramData\Yarn\bin\;C:\Program Files\TortoiseGit\bin;"%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-2.0.jar";%NVM_HOME%;%NVM_SYMLINK%;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\EDZ\AppData\Local\GitHubDesktop\bin;C:\Users\EDZ\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Docker Toolbox;C:\Users\EDZ\AppData\Local\Yarn\bin;C:\Users\EDZ\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\EDZ\AppData\Roaming\nvm;C:\Program Files\nodejs
9 verbose lifecycle vstecs_dic_h5@0.1.0~build: CWD: C:\vue\vstecs_dic_h5
10 silly lifecycle vstecs_dic_h5@0.1.0~build: Args: [ '/d /s /c', 'vue-cli-service build' ]
11 silly lifecycle vstecs_dic_h5@0.1.0~build: Returned: code: 1 signal: null
12 info lifecycle vstecs_dic_h5@0.1.0~build: Failed to exec build script
13 verbose stack Error: vstecs_dic_h5@0.1.0 build: `vue-cli-service build`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\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> (C:\Program Files\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 vstecs_dic_h5@0.1.0
15 verbose cwd C:\vue\vstecs_dic_h5
16 verbose Windows_NT 10.0.18362
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\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 vstecs_dic_h5@0.1.0 build: `vue-cli-service build`
22 error Exit status 1
23 error Failed at the vstecs_dic_h5@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 ]