'Npm' not an internal or external command, a program can be run

'Npm' not an internal or external command, a program can be run

Problem Description:

Occurs when using the package management commands npm 'npm' not an internal or external command, a program can be run

Solution:

In fact, this problem occurs when you install nodejs version management tool nvm is not a problem, mainly because when you use nodejs not automatically install npm install tools nvm high version, I am currently testing various versions of the discovery: When using nvm be nodejs version when managing only installed nodejs version automatically install npm tool in 8.11.4 and below will be, or later does not automatically install.

Reproduced in: https: //juejin.im/post/5cfa5585f265da1bb67a0a1a

Guess you like

Origin blog.csdn.net/weixin_33941350/article/details/91416453