系统基础环境说明:
Windows Server 2008 R2 Enterprise x64
IIS 7.5
Node v8.9.3
IIS新装模块:
URL Rewrite
iisnode-full-v0.2.21-x64.msi
Node应用程序:
express v4.15.5
socket.io v2.0.4
…
Node package.json文件如下:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
{ "name": "shippositioning", "version": "0.0.1", "private": true, "scripts": { "start": "node ./bin/www" }, "dependencies": { "body-parser": "~1.18.2", "cookie-parser": "~1.4.3", "debug": "~2.6.9", "ejs": "^2.5.7", "express": "~4.15.5", "jade": "~1.11.0", "morgan": "~1.9.0", "mysql": "^2.15.0", "node-windows": "^0.1.14", "serve-favicon": "~2.4.5", "socket.io": "^2.0.4" }, "main": "app.js", "devDependencies": {}, "author": "mrdede", "license": "ISC", "description": "" } |