Tag Archives: Common problems in development

NPM can’t find D: //nodejs/node all of The solution of sudden_modules/NPM/bin/npm-cli.js

Node installed with NVM

Use very normal, suddenly one day NPM error

npm -v  
NPM does not exist

node -v

Node does not exist

Baidu, very peer will tell you, re install node

If you haven’t changed environment variables and deleted files, you don’t need to

First NVM – V to see if NVM exists

If there is NVM, see if there is a node file

nvm list

 

There is a node, but it can’t be found with noe – V. then the problem is clear. Just NVM use   14.16.1, found in node – V NPM – V. Go to the next event, OK, all right