執(zhí)行npm -v報錯,求解?
C:\Users\Administrator>npm -v
npm ERR! path C:\Program Files\nodejs\node.exe
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn C:\Program Files\nodejs\node.exe
npm ERR! enoent spawn C:\Program Files\nodejs\node.exe ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Callback called more than once.
npm ERR! A complete log of this run can be found in:
npm ERR!? ? ?C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-02-19T11_49_52_173Z-debug.log
6.9.0
2020-02-22
版本的問題,降低版本即可,親測