node.js express install on windows 7

來源:互聯網
上載者:User

標籤:node.js express

一、測試平台

作業系統Windows 7 簡體中文旗艦版X64

二、安裝步驟

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

預設組件全部選擇,安裝路徑C:\Program Files\nodejs

C:\Users\Administrator>node -v

v0.10.32

C:\Users\Administrator>npm -v

1.4.28

2.安裝express:

Microsoft Windows [版本 6.1.7601]

著作權 (c) 2009 Microsoft Corporation。著作權所有,並保留一切權利。

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


安裝提示:

npm install --g [email protected] //安裝指定版本express

npm install express -g //安裝最新版express,預設的是express4.0,但是4.0版本截止

20141024止,無法作為命令列執行,建議使用3.5.0版本。

npm remove express -g //刪除express


本文出自 “yiyi” 部落格,請務必保留此出處http://heyiyi.blog.51cto.com/205455/1567530

node.js express install on windows 7

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.