node.jsexpressinstallonwindows7-创新互联

一、测试平台

作为一家“创意+整合+营销”的成都网站建设机构,我们在业内良好的客户口碑。成都创新互联公司提供从前期的网站品牌分析策划、网站设计、成都网站制作、做网站、外贸营销网站建设、创意表现、网页制作、系统开发以及后续网站营销运营等一系列服务,帮助企业打造创新的互联网品牌经营模式与有效的网络营销方法,创造更大的价值。

操作系统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 express@3.5.0

npm WARN deprecated static-favicon@1.0.0: use serve-favicon module

C:\Users\Administrator\AppData\Roaming\npm\express -> C:\Users\Administrator\App

Data\Roaming\npm\node_modules\express\bin\express

express@3.5.0 C:\Users\Administrator\AppData\Roaming\npm\node_modules\express

├── methods@0.1.0

├── merge-descriptors@0.0.2

├── debug@0.8.1

├── cookie-signature@1.0.3

├── fresh@0.2.2

├── range-parser@1.0.0

├── buffer-crc32@0.2.1

├── cookie@0.1.1

├── mkdirp@0.3.5

├── send@0.2.0 (mime@1.2.11)

├── commander@1.3.2 (keypress@0.1.0)

└── connect@2.14.1 (response-time@1.0.0, pause@0.0.1, method-override@1.0.0,

static-favicon@1.0.0, morgan@1.0.0, bytes@0.2.1, serve-static@1.0.2, basic-auth-

connect@1.0.0, qs@0.6.6, raw-body@1.1.3, vhost@1.0.0, connect-timeout@1.0.0, err

orhandler@1.0.0, cookie-parser@1.0.1, csurf@1.0.0, express-session@1.0.2, serve-

index@1.0.1, multiparty@2.2.0, compression@1.0.0)

C:\Users\Administrator>express -V

3.5.0

安装提示:

npm install --g express@3.5.0 //安装指定版本express

npm install express -g //安装最新版express,默认的是express4.0,但是4.0版本截止

20141024止,无法作为命令行执行,建议使用3.5.0版本。

npm remove express -g //删除express

3.安装 bower

C:\Users\Administrator>npm install bower

npm WARN prefer global bower@1.3.12 should be installed with -g

bower@1.3.12 node_modules\bower

├── is-root@1.0.0

├── junk@1.0.0

├── stringify-object@1.0.0

├── which@1.0.5

├── chmodr@0.1.0

├── osenv@0.1.0

├── archy@0.0.2

├── abbrev@1.0.5

├── graceful-fs@3.0.4

├── opn@1.0.0

├── bower-logger@0.2.2

├── lockfile@1.0.0

├── nopt@3.0.1

├── rimraf@2.2.8

├── lru-cache@2.5.0

├── q@1.0.1

├── bower-endpoint-parser@0.2.2

├── retry@0.6.0

├── tmp@0.0.23

├── semver@2.3.2

├── p-throttler@0.1.0 (q@0.9.7)

├── request-progress@0.3.0 (throttleit@0.0.2)

├── bower-json@0.4.0 (intersect@0.0.3, deep-extend@0.2.11, graceful-fs@2.0.3)

├── shell-quote@1.4.2 (array-filter@0.0.1, array-map@0.0.0, array-reduce@0.0.

0, jsonify@0.0.0)

├── fstream@1.0.2 (inherits@2.0.1)

├── mkdirp@0.5.0 (minimist@0.0.8)

├── promptly@0.2.0 (read@1.0.5)

├── chalk@0.5.0 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-colo

r@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)

├── fstream-ignore@1.0.1 (inherits@2.0.1, minimatch@1.0.0)

├── glob@4.0.6 (inherits@2.0.1, minimatch@1.0.0, once@1.3.1)

├── bower-config@0.5.2 (osenv@0.0.3, graceful-fs@2.0.3, optimist@0.6.1)

├── tar-fs@0.5.2 (pump@0.3.5, tar-stream@0.4.7)

├── cardinal@0.4.0 (redeyed@0.4.4)

├── request@2.42.0 (caseless@0.6.0, forever-agent@0.5.2, json-stringify-safe@

5.0.0, aws-sign2@0.5.0, oauth-sign@0.4.0, stringstream@0.0.4, tunnel-agent@0.4.0

, node-uuid@1.4.1, qs@1.2.2, mime-types@1.0.2, bl@0.9.3, tough-cookie@0.12.1, ha

wk@1.1.1, http-signature@0.10.0, form-data@0.1.4)

├── decompress-zip@0.0.8 (nopt@2.2.1, mkpath@0.1.0, touch@0.0.2, readable-str

eam@1.1.13, binary@0.3.0)

├── bower-registry-client@0.2.1 (graceful-fs@2.0.3, lru-cache@2.3.1, request-

replay@0.2.0, async@0.2.10, mkdirp@0.3.5, request@2.27.0)

├── mout@0.9.1

├── update-notifier@0.2.0 (semver-diff@0.1.0, string-length@0.1.2, configstor

e@0.3.1, latest-version@0.2.0)

├── inquirer@0.7.1 (figures@1.3.3, mute-stream@0.0.4, through@2.3.6, lodash@2

.4.1, readline2@0.1.0, rx@2.3.14, cli-color@0.3.2)

├── handlebars@2.0.0 (optimist@0.3.7, uglify-js@2.3.6)

└── insight@0.4.3 (object-assign@1.0.0, async@0.9.0, chalk@0.5.1, os-name@1.0

.1, lodash.debounce@2.4.1, tough-cookie@0.12.1, configstore@0.3.1, inquirer@0.6.

0)

C:\Users\Administrator>bower --version

1.3.12

安装git Git-1.8.3-preview20130601.exe

选择安装选项 1

添加“C:\Program Files (x86)\Git\bin”到系统环境变量PATH

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


当前题目:node.jsexpressinstallonwindows7-创新互联
分享URL:http://myzitong.com/article/djdhgs.html