node. JS Express Install on Windows 7

Source: Internet
Author: User
Tags install node

First, test platform

Operating system Windows 7 Simplified Chinese flagship edition X64

Second, installation steps

1.install Node-v0.10.32-x64.msi

Default Components all selected, installation path C:\Program Files\nodejs

C:\users\administrator>node-v

v0.10.32

C:\users\administrator>npm-v

1.4.28

2. Install Express:

Microsoft Windows [version 6.1.7601]

Copyright (c) Microsoft Corporation. All rights reserved.

C:\USERS\ADMINISTRATOR>NPM install-g [email protected]

NPM WARN deprecated [email protected]: Use Serve-favicon module

C:\Users\Administrator\AppData\Roaming\npm\express-C:\USERS\ADMINISTRATOR\APP

Data\roaming\npm\node_modules\express\bin\express

[Email protected] C:\Users\Administrator\AppData\Roaming\npm\node_modules\express

├──[email protected]

├──[email protected]

├──[email protected]

├──[email protected]

├──[email protected]

├──[email protected]

├──[email protected]

├──[email protected]

├──[email protected]

├──[email protected] ([email protected])

├──[email protected] ([email protected])

└──[email protected] ([email protected], [email protected], [email protected],

[Email protected], [email protected], [email protected], [email protected], basic-auth-

[Email protected], [email protected], [email protected], [email protected], [email protected], err

[Email protected], [email protected], [email protected], [email protected], serve-

[Email protected], [email protected], [email protected])

C:\users\administrator>express-v

3.5.0


Installation tips:

NPM install--g [email protected]//installation of the specified version of Express

NPM Install EXPRESS-G//installs the latest version of Express, the default is express4.0, but version 4.0 expires

20141024, cannot be executed as command line, we recommend using 3.5.0 version.

NPM Remove Express-g//Delete Express


This article is from the "Yiyi" blog, make sure to keep this source http://heyiyi.blog.51cto.com/205455/1567530

node. JS Express Install on Windows 7

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.