node. JS Setup Wizard ended prematurely Win7 install Nodejs failure workaround

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.