Nodejs
Download website :http://nodejs.org/download/
Download has two file formats, one is mis and the other is an exe file , corresponding to your operating system to download.
1. I downloaded the mis file, the installation will appear an installation interface, always Next is OK
When I install the end of the time will appear rollback, installation failed
Then the internet searched a lot of data and did not meet the results, later someone said that the download Windows Binary and npm Configuration environment variables, the result can be.
The first step:
1. download windows Binary, Enter the official website can be downloaded , download Back is an exe suffix file installation files.
Step Two:
1. Download npm file on official website it is best to select the latest download or the version issue will occur
2.:http://nodejs.org/dist/npm/
Step Three:
1. Extract npm file will generate node_modules files and npm.cmd directive file Just download the node.exe also put in the same directory, then configure your environment variables
2. Select the environment variable and create a new variable named : Nodejs_path and nodejs_module,nodejs_path Specified is my local nodejs directory,nodejs_module specified is the node_modules Directory , The value of the variable is:F:\Program files\nodejs\node_modules
Okay, now let's get the environment variables right! Install the Nodejs now
Fourth Step:
1.installationExpressOpencmdcommand line, use the command to navigate to theNode_modulesdirectory under,Input Instructionsnpm Install Express,Note You can use two different installation methods,Expressthe installationExpressto relative path "ornpm Install express-gthe installationExpressto absolute path "
2. Enter node-v If it shows the publication number, the installation is successful .
3. Update nodejs version can be command line input:npm update npm-g
I wish you all the installation success !
Node. JS Setup Wizard ended prematurely Win7 install Nodejs failure workaround