vue-cli运行报错?

#
# Fatal error in , line 0
# Check failed: U_SUCCESS(status).
#
#
#
#FailureMessage Object: 000000F970CFD490npm ERR! code ELIFECYCLE
npm ERR! errno 3221225477
npm ERR! newx@0.1.0 serve: `vue-cli-service serve`
npm ERR! Exit status 3221225477
npm ERR!
npm ERR! Failed at the newx@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

详细log

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   'D:\\nodejs\\node.exe',
1 verbose cli   'D:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'serve'
1 verbose cli ]
2 info using npm@6.9.0
3 info using node@v12.0.0
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle newx@0.1.0~preserve: newx@0.1.0
6 info lifecycle newx@0.1.0~serve: newx@0.1.0
7 verbose lifecycle newx@0.1.0~serve: unsafe-perm in lifecycle true
8 verbose lifecycle newx@0.1.0~serve: PATH: D:\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\newx\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\;C:\Windows\System32\OpenSSH\;C:\software\apache-maven-3.6.0\bin\;D:\工作软件\HBuilderX\plugins\launcher\tools\adbs;;;D:\工作软件\Git\cmd;C:\Program Files\TortoiseSVN\bin;D:\nodejs\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Roaming\npm
9 verbose lifecycle newx@0.1.0~serve: CWD: D:\newx
10 silly lifecycle newx@0.1.0~serve: Args: [ '/d /s /c', 'vue-cli-service serve' ]
11 silly lifecycle newx@0.1.0~serve: Returned: code: 3221225477  signal: null
12 info lifecycle newx@0.1.0~serve: Failed to exec serve script
13 verbose stack Error: newx@0.1.0 serve: `vue-cli-service serve`
13 verbose stack Exit status 3221225477
13 verbose stack     at EventEmitter.<anonymous> (D:\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:196:13)
13 verbose stack     at ChildProcess.<anonymous> (D:\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:196:13)
13 verbose stack     at maybeClose (internal/child_process.js:1000:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:267:5)
14 verbose pkgid newx@0.1.0
15 verbose cwd D:\newx
16 verbose Windows_NT 10.0.17763
17 verbose argv "D:\\nodejs\\node.exe" "D:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "serve"
18 verbose node v12.0.0
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 3221225477
22 error newx@0.1.0 serve: `vue-cli-service serve`
22 error Exit status 3221225477
23 error Failed at the newx@0.1.0 serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 3221225477, true ]

请问应该怎么解决?

阅读 10.6k
3 个回答

newx@0.1.0 这个包出问题了?重新安装试试

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进