Originally I used Win7 environment to install node is very convenient, to the WIN8 system suddenly changed, let me immediately puzzled for a while, but still I find the way to solve, record the solution:
First read some information on the Internet, said Win8 installation node environment will be wrong, but my book does not appear this situation, directly on the official website of Nonde download image
I am win8 64-bit directly find the corresponding download. Installing node. JS is needless to say, install basic knowledge.
This is the first step, the node infrastructure installation is complete and is entered directly in CMD
Instructions to install node successfully, next I want to install Express
Note: The usual NPM download node component is the NPM install component name (such as MySQL), but not in the WIN8 system, toss me, finally found another way
Just enter
will be able to successfully download the complete,
If you want to remove the direct input NPM--registry=http://registry.npmjs.org Uninstall-g Express.
Then there is a problem, I want to see if I installed the Express is successful, by looking for Express version invalid, will prompt this command does not exist, note that the statement here is Express-v
Because using NPM to download Express is not complete, and one less thing, that is express-generator, and then download
Once the download is complete, enter express-v again.
Success, my current Express version is 4.12.1 but my operating system is 64-bit express can't use Cha, still looking for answers
WIN8 System Installation Node environment record