Now it's time to take note of the problem with this kind of SB system.
1. Find the market to build a catalogue npmconfig (whatever the name)
2. Batch execution npm config set prefix "C:\NPMCONFIG\NPM"
NPM config set globalconfig "C:\NPMCONFIG\NPM\ETC\NPMRC"
NPM config set globalignorefile "C:\npmConfig\npm\etc\npmignore"
3. Perform NPM install-g cnpm--registry=http://r.cnpmjs.org
4. Add C:\NPMCONFIG\NPM to the PATH environment variable (delete the original existing. \NPM)
5. Execute CNPM install-g Supervisor
6. Execute CNPM install-g [email protected] (can express command to generate v3.x Exprss project after installation)
Execute CNPM install-g express-generator (after installation can express command to generate v4.x Exprss project)
After 7 full use of cnpm ....
aside, when you run the Express website, the latest version of Express will appear with an error saying that you can't find .... \public\ Favicon.ico file, the solution is also simple, find that directory, create a public directory below, and then copy a favicon.ico file into it, you do the ICO file is also OK.
Install run CNPM on Windows instead of NPM