Home  >  Article  >  Web Front-end  >  Perfectly handle Nodejs global installation module cannot find command

Perfectly handle Nodejs global installation module cannot find command

php中世界最好的语言
php中世界最好的语言Original
2018-05-29 17:31:551794browse

This time I will bring you the perfect way to deal with the Nodejs global InstallationThe 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 environment variable .

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn