鍍金池/ 問(wèn)答/Linux  HTML/ npm查詢版本報(bào)錯(cuò)This is related to npm not bein

npm查詢版本報(bào)錯(cuò)This is related to npm not being able to find a file

C:\Users\Administrator>npm -v
npm ERR! path E:\nodeJs\node.exe
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn E:\nodeJs\node.exe
npm ERR! enoent spawn E:\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!     E:\nodeJs\node_cache\_logs\2018-07-10T00_08_47_753Z-debug.log
6.1.0

C:\Users\Administrator>

查詢npm查詢版本報(bào)錯(cuò)??環(huán)境變量配置沒(méi)問(wèn)題,之前測(cè)試正常,誰(shuí)知道哪里有問(wèn)題
node -v輸出v10.5.0

回答
編輯回答
貓館

安裝低版本的nodejs

clipboard.png

2018年9月18日 16:34