Npm query version of this newspaper error 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>

query npm query version error? There is no problem with the configuration of environment variables. The previous test is normal. Who knows where there is a problem
node-v output v10.5.0

Mar.25,2021

install an earlier version of nodejs

clipboard.png


has the problem been solved? I met the same one.


does anyone know how to solve this problem? they've been studying it all morning. It's okay to try version 7, but my project only supports versions above 8

Menu