首页新闻找找看学习计划

执行npm报以下错误信息

0
悬赏园豆:30 [待解决问题]
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   'prefix',
1 verbose cli   '-g' ]
2 info using npm@6.4.1
3 info using node@v8.12.0
4 verbose stack Error: spawn C:\Program Files\nodejs\node.exe ENOENT
4 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
4 verbose stack     at onErrorNT (internal/child_process.js:362:16)
4 verbose stack     at _combinedTickCallback (internal/process/next_tick.js:139:11)
4 verbose stack     at process._tickCallback (internal/process/next_tick.js:181:9)
5 verbose cwd C:\Users\Administrator
6 verbose Windows_NT 10.0.16299
7 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "prefix" "-g"
8 verbose node v8.12.0
9 verbose npm  v6.4.1
10 error path C:\Program Files\nodejs\node.exe
11 error code ENOENT
12 error errno ENOENT
13 error syscall spawn C:\Program Files\nodejs\node.exe
14 error enoent spawn C:\Program Files\nodejs\node.exe ENOENT
15 error enoent This is related to npm not being able to find a file.
16 verbose exit [ 1, true ]
沉于年华的主页 沉于年华 | 初学一级 | 园豆:172
提问于:2018-09-19 17:16
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册