(go) Install Nodejs and Frame Express under Windows

Source: Internet
Author: User

Transferred from: http://jingyan.baidu.com/article/456c463b60fb380a583144a9.html

Installing Nodejs and Frame Express under Windows

Nodejs since the birth has been hot, I recently installed a node environment to understand. The installation procedure is simple and simple, so we will not explain each step in detail here, only solve the problem during the installation.

Tools/Materials
    • Nodejs
    • Frame Express
Method/Step
    1. Download the installation file from node website, address: http://nodejs.org/

    2. This installer is also very regular, order click Next can be, or do some simple choice, needless to say, just a little more emphasis, one step: Add to Path must be selected. The function of this is simply to add a node-related command to the Windows command line, please Baidu for details.

    3. We were very happy to have node installed, and then install Express,express is the only web framework that node officially recommends, providing a lot of basic convenience features.

    4. Execute "npm install-g Express" on the command line waiting to download and complete the installation automatically. One way to test Express installation is to look at its version number and execute the command "express-v" to output the version number normally, but in the event of an abnormal condition, "Express is not an internal or external command " So the question comes, what's the reason?

    5. There are two possibilities: ① installing node in the second step does not add an environment variable, which can be solved by adding the environment variable to node. ②express 4.x version of the command tool, you need to install a command tool, execute the command "npm install-g express-generator" After the completion of the test.

(go) Install Nodejs and Frame Express under Windows

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.