How to solve the problem of nodejs express installation failure
In this issue, Xiaobian will bring you about how to solve the problem of nodejs express installation failure. The article is rich in content and analyzes and narrates from a professional perspective. After reading this article, I hope you can gain something.
Solution to nodejs express installation failure: 1. Switch to nodejs installation directory;2. Execute "npm install express" command.
Operating environment of this article: Windows 7 system, nodejs version 10.16.2, Dell G3 computer.
How to fix nodejs express installation failure?
Note why nodejs failed to install express
Question:
After npm install -g express is executed on the window command line, the express command cannot be executed on the command line.
Answer:
EXPRESS controller for version 4.x+: npm install -g express-generator
EXPRESS controller for version 3.x: npm install -g express
The above is how to solve the problem of nodejs express installation failure shared by Xiaobian for everyone. If there is a similar doubt, please refer to the above analysis for understanding. If you want to know more about it, please pay attention to the industry information channel.