As we all know, Express is the only web framework that is officially recommended. Execute "NPM Install-g Express" on the command line waiting to download and complete the installation automatically. Test Express to complete the installation of a method is to view its version number, the execution of the command "express-v" normal output version number, but encountered an abnormal situation, will prompt "Express is not internal or external command", so the problem comes, this is why?
There are two possibilities: ① installing node in the second step does not add an environment variable, which can be solved by adding the environment variable to node. ②express 4.x version of the command tool, you need to install a command tool, execute the command "NPM install-g Express-generator" After the completion of the test.
Nodejs Installing the Express framework