This time I will bring you the perfect way to deal with the Nodejs globalInstallationThe module cannot find the command, and the Nodejs global installation module cannot find the command.What are the precautions?What are the actual cases below? Let’s take a look.
npm prefix -g
Just add the output global installation path to the Path entry of the environmentvariable.
I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the php Chinese website!
Recommended reading:
Detailed introduction to WeChat applet development
How to use the http server in angularjs
Detailed analysis of the WeChat applet entry tutorial case
The above is the detailed content of Perfectly handle Nodejs global installation module cannot find command. For more information, please follow other related articles on the PHP Chinese website!