How to handle the issue of node. js msi to roll back under windows 8

Source: Internet
Author: User

The rolling back action issue occurs in Node. js msi versions. Google, see the following link:

Http://cnodejs.org/topic/51428aa3069911196d65935c

It is basically clear where the problem is. Manually perform the operation. The configuration is successful. 1:

  

Figure 1

Here we will write a configuration step for your reference:

Step 1: Download node.exe,npm.zip

Node.exe link: http://nodejs.org/download/

Npm link: https://npmjs.org/

Step 2: manually create the installation directory. In this article, create D: \ Node

Copy node.exe to D: \ Node

Decompress npm and copy it to D: \ Node.

Set the environment variable and add the node PATH to the PATH. In this article, D: \ Node

Step 3: Install npm

Run cmd to enter the command line and enter the command node cli. js install-gf.

Set the environment variable and add NODE_PATH = D: \ Node \ node_modules

2:

  

Figure 2

Step 4: Install express

In the Node directory, enter the command npm install express [install express to the relative path] Or npm install express-g [install express to the absolute path], 3

      

Figure 3

3. The entire Node. js configuration is complete.

You can enter the command express <Project Name> in CMD to create a project, enter node app. js to enable port 3000 listening, and enter localhost:, 4, and figure 1 in the browser. The project is successfully deployed:

                    

Figure 4

      

Node. js is configured in Win8.

 

When reprinting, please indicate the source of this article: www.cnblogs.com/tmywu

Author: old fish 678

Mail: tommywu23@126.com

 

Related Article

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.