win10环境部署el-admin,启动错误

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   'C:\\Program Files (x86)\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'dev'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle [email protected]~predev: [email protected]
6 info lifecycle [email protected]~dev: [email protected]
7 verbose lifecycle [email protected]~dev: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~dev: PATH: C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;E:\java\elemeadmin\eladmin-web-master\eladmin-web-master\node_modules\.bin;C:\Program Files\Common Files\Oracle\Java\javapath;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:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;"C:\Program Files (x86)\Java\jdk1.7.0_03\bin;C:\Program Files (x86)\Java\jdk1.7.0_03\jre\bin;";C:\Program Files (x86)\nodejs\;C:\Users\bajio\AppData\Local\Microsoft\WindowsApps;;E:\Program Files\JetBrains\DataSpell 2022.1.1\bin;;E:\Program Files\JetBrains\IntelliJ IDEA 2019.1.1\bin;;C:\Users\bajio\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\bajio\AppData\Roaming\npm
9 verbose lifecycle [email protected]~dev: CWD: E:\java\elemeadmin\eladmin-web-master\eladmin-web-master
10 silly lifecycle [email protected]~dev: Args: [ '/d /s /c', 'vue-cli-service serve' ]
11 silly lifecycle [email protected]~dev: Returned: code: 3221225477  signal: null
12 info lifecycle [email protected]~dev: Failed to exec dev script
13 verbose stack Error: [email protected] dev: `vue-cli-service serve`
13 verbose stack Exit status 3221225477
13 verbose stack     at EventEmitter. (C:\Program Files (x86)\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. (C:\Program Files (x86)\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 [email protected]
15 verbose cwd E:\java\elemeadmin\eladmin-web-master\eladmin-web-master
16 verbose Windows_NT 10.0.22000
17 verbose argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev"
18 verbose node v12.0.0
19 verbose npm  v6.9.0
20 error code ELIFECYCLE
21 error errno 3221225477
22 error [email protected] dev: `vue-cli-service serve`
22 error Exit status 3221225477
23 error Failed at the [email protected] dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 3221225477, true ]

参考文章:

(80条消息) 完整顺利的卸载node(避免踩坑!)_rainux.的博客-CSDN博客_卸载node

(79条消息) Node以及Nvm_探鱼不是鱼的博客-CSDN博客_node nvm

Previous Releases | Node.js (nodejs.org)

Vue项目报错 dev: `vue-cli-service serve`_kaixinhaji的博客-CSDN博客_`vue-cli-service serve
npm修改或切换镜像地址_LD_Coding的博客-CSDN博客_npm切换镜像地址

npm和vscode启动项目报错 A complete log of this run can be found in:解决方法。_前端攻城狮路飞的博客-CSDN博客_npm启动
npm和vscode启动项目报错 A complete log of this run can be found in:解决方法。_前端攻城狮路飞的博客-CSDN博客_npm启动Vscode - 无法将“npm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。_A_bad_horse的博客-CSDN博客_vscode 无法将npmnpm和vscode启动项目报错 A complete log of this run can be found in:解决方法。_前端攻城狮路飞的博客-CSDN博客_npm启动解决 This is probably not a problem with npm. There is likely additional logging output above._卡尔特斯的博客-CSDN博客npm和vscode启动项目报错 A complete log of this run can be found in:解决方法。_前端攻城狮路飞的博客-CSDN博客_npm启动

解决文章:

使用 nvm 管理不同版本的 node 与 npm | 菜鸟教程 (runoob.com)

Releases · coreybutler/nvm-windows (github.com)

运行node run dev一直报错 code ELIFECYCLE,原来是版本好不对, 把node版本调整为v12.10.0就好了 - OSCHINA - 中文开源技术交流社区

参考文章:

(79条消息) nvm 切换node报错 exit status 1: �ܾ����ʡ�_Tales筱欣的博客-CSDN博客_nvm 切换报错

通过版本控制 把原先的node 进行删除,方便后续管理。

重新安装了一下nvm 进行安装了新的noode

根据解决文章,更换了版本。从12.0.0 调整到了12.1.0  

你可能感兴趣的:(nodejs,前端)