运行官方聊天室服务器端程序出错,求指导

克隆该项目之后https://github.com/NetEase/chatofpomelo
在项目中运行sudo sh npm-install.sh
按照http://nodejs.netease.com/topic/515251b97f53b3d3330025c7教程设置NODE.JS运行配置
然后运行,报错如下,何解?(未更改servers.json)

========================华丽的分割线=========================

/usr/local/bin/node app.js env=development
[2013-04-24 20:29:31.984] [INFO] /node_modules/pomelo/lib/application.js - application inited: "master-server-1"
[2013-04-24 20:29:33.059] [INFO] console - info: 'socket.io started'
[2013-04-24 20:29:33.061] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node  /gitHubSource/chatofpomelo/game-server/app.js env=development  id=connector-server-1  host=127.0.0.1  port=4050  clientPort=3050  frontend=true  serverType=connector  locally
[2013-04-24 20:29:33.064] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node  /gitHubSource/chatofpomelo/game-server/app.js env=development  id=connector-server-2  host=127.0.0.1  port=4051  clientPort=3051  frontend=true  serverType=connector  locally
[2013-04-24 20:29:33.066] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node  /gitHubSource/chatofpomelo/game-server/app.js env=development  id=connector-server-3  host=127.0.0.1  port=4052  clientPort=3052  frontend=true  serverType=connector  locally
[2013-04-24 20:29:33.068] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node  /gitHubSource/chatofpomelo/game-server/app.js env=development  id=chat-server-1  host=127.0.0.1  port=6050  serverType=chat  locally
[2013-04-24 20:29:33.069] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node  /gitHubSource/chatofpomelo/game-server/app.js env=development  id=chat-server-2  host=127.0.0.1  port=6051  serverType=chat  locally
[2013-04-24 20:29:33.071] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node  /gitHubSource/chatofpomelo/game-server/app.js env=development  id=chat-server-3  host=127.0.0.1  port=6052  serverType=chat  locally
[2013-04-24 20:29:33.073] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node  /gitHubSource/chatofpomelo/game-server/app.js env=development  id=gate-server-1  host=127.0.0.1  clientPort=3014  frontend=true  serverType=gate  locally
[2013-04-24 20:29:33.076] [INFO] /node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js - try to connect master: "master", "127.0.0.1", 3005
[2013-04-24 20:29:33.158] [ERROR] console - FAILED TO RUN, return code: 127
[2013-04-24 20:29:33.162] [ERROR] console -  Caught exception: TypeError: undefined is not a function
    at starter.localrun (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:136:7)
    at ChildProcess.spawnProcess (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:191:7)
    at ChildProcess.EventEmitter.emit (events.js:99:17)
    at Process._handle.onexit (child_process.js:680:10)
[2013-04-24 20:29:33.165] [ERROR] console - FAILED TO RUN, return code: 127
[2013-04-24 20:29:33.166] [ERROR] console -  Caught exception: TypeError: undefined is not a function
    at starter.localrun (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:136:7)
    at ChildProcess.spawnProcess (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:191:7)
    at ChildProcess.EventEmitter.emit (events.js:99:17)
    at Process._handle.onexit (child_process.js:680:10)
[2013-04-24 20:29:33.166] [ERROR] console - FAILED TO RUN, return code: 127
[2013-04-24 20:29:33.168] [ERROR] console -  Caught exception: TypeError: undefined is not a function
    at starter.localrun (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:136:7)
    at ChildProcess.spawnProcess (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:191:7)
    at ChildProcess.EventEmitter.emit (events.js:99:17)
    at Process._handle.onexit (child_process.js:680:10)
[2013-04-24 20:29:33.169] [ERROR] console - FAILED TO RUN, return code: 127
[2013-04-24 20:29:33.169] [ERROR] console -  Caught exception: TypeError: undefined is not a function
    at starter.localrun (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:136:7)
    at ChildProcess.spawnProcess (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:191:7)
    at ChildProcess.EventEmitter.emit (events.js:99:17)
    at Process._handle.onexit (child_process.js:680:10)
[2013-04-24 20:29:33.170] [ERROR] console - FAILED TO RUN, return code: 127
[2013-04-24 20:29:33.170] [ERROR] console -  Caught exception: TypeError: undefined is not a function
    at starter.localrun (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:136:7)
    at ChildProcess.spawnProcess (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:191:7)
    at ChildProcess.EventEmitter.emit (events.js:99:17)
    at Process._handle.onexit (child_process.js:680:10)
[2013-04-24 20:29:33.170] [ERROR] console - FAILED TO RUN, return code: 127
[2013-04-24 20:29:33.171] [ERROR] console -  Caught exception: TypeError: undefined is not a function
    at starter.localrun (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:136:7)
    at ChildProcess.spawnProcess (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:191:7)
    at ChildProcess.EventEmitter.emit (events.js:99:17)
    at Process._handle.onexit (child_process.js:680:10)
[2013-04-24 20:29:33.171] [ERROR] console - FAILED TO RUN, return code: 127
[2013-04-24 20:29:33.180] [ERROR] console -  Caught exception: TypeError: undefined is not a function
    at starter.localrun (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:136:7)
    at ChildProcess.spawnProcess (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/starter.js:191:7)
    at ChildProcess.EventEmitter.emit (events.js:99:17)
    at Process._handle.onexit (child_process.js:680:10)
[2013-04-24 20:29:33.180] [INFO] console - /bin/sh: node: command not found

[2013-04-24 20:29:33.180] [INFO] console - /bin/sh: node: command not found

[2013-04-24 20:29:33.181] [INFO] console - /bin/sh: node: command not found

[2013-04-24 20:29:33.181] [INFO] console - /bin/sh: node: command not found

[2013-04-24 20:29:33.181] [INFO] console - /bin/sh: node: command not found

[2013-04-24 20:29:33.181] [INFO] console - /bin/sh: node: command not found

[2013-04-24 20:29:33.181] [INFO] console - /bin/sh: node: command not found

[2013-04-24 20:29:33.290] [INFO] /node_modules/pomelo/lib/application.js - "master-server-1" enter after start...
[2013-04-24 20:29:33.290] [INFO] /node_modules/pomelo/lib/application.js - "master-server-1" finish start
标签:无
cz460909 在 2013-4-24 20:36发布
cz460909 在 2013-5-2 15:47重新编辑 分享到 weibo
9 回复
#1 py8765 2013-4-25 13:43 回复

你这个是启动就报错?你查看一下chatofpomelo是不是最新的,然后pomelo的版本是多少,我这边试过没有问题的。

#2 cz460909 2013-4-25 14:09 回复

唉...不用试了...公司要求用老掉牙的Sun RedDwarf,因为过去用的这个做的服务端....感谢大神帮助了...加油~把POMELO做牛逼了

#3 {1} py8765 2013-4-25 14:13 回复

嗯 谢谢

cz460909 2013-5-2 15:13 回复

经过服务器端程序员玩命的争取,BOSS最后又改主意要用POMELO了...所以这个问题依然卡住了我...求大神继续指点,我的POMELO版本是

newappletekiMac-mini:~ newapple$ pomelo --help

Usage: pomelo [action] [option]

Options:
init [path] create new application
start [option] start the application
list list server information
stop stop the application
kill [--force] kill the application
--version output framework version
--help output help information
[option] developement(default)/production --daemon
newappletekiMac-mini:~ newapple$ pomelo --version
0.3.7
newappletekiMac-mini:~ newapple$

#4 cz460909 2013-5-2 15:14 回复

求指点~

#5 cz460909 2013-5-2 15:17 回复

另贴工程中的package.json文件如下

{
"name": "chatofpomelo",
"version": "0.0.1",
"private": false,
"dependencies": {
"pomelo": "0.3.1",
"log4js": "0.5.7",
"crc": "0.2.0"
}
}

#6 cz460909 2013-5-2 15:20 回复

在工程目录下运行sudo sh npm-install.sh打印LOG如下
npm info it worked if it ends with ok
npm info using npm@1.2.18
npm info using node@v0.8.23
npm WARN package.json chatofpomelo@0.0.1 No README.md file found!
npm info preinstall chatofpomelo@0.0.1
npm info trying registry request attempt 1 at 15:17:26
npm http GET https://registry.npmjs.org/pomelo/0.3.1
npm info trying registry request attempt 1 at 15:17:26
npm http GET https://registry.npmjs.org/crc/0.2.0
npm info trying registry request attempt 1 at 15:17:26
npm http GET https://registry.npmjs.org/log4js/0.5.7
npm http 304 https://registry.npmjs.org/crc/0.2.0
npm http 304 https://registry.npmjs.org/log4js/0.5.7
npm http 304 https://registry.npmjs.org/pomelo/0.3.1
npm info install log4js@0.5.7 into /gitHubSource/chatofpomelo/game-server
npm info install crc@0.2.0 into /gitHubSource/chatofpomelo/game-server
npm info install pomelo@0.3.1 into /gitHubSource/chatofpomelo/game-server
npm info installOne log4js@0.5.7
npm info installOne crc@0.2.0
npm info installOne pomelo@0.3.1
npm info /gitHubSource/chatofpomelo/game-server/node_modules/log4js unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/crc unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo unbuild
npm info preinstall crc@0.2.0
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/crc
npm info linkStuff crc@0.2.0
npm info install crc@0.2.0
npm info postinstall crc@0.2.0
npm info preinstall log4js@0.5.7
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/dequeue/1.0.3
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/async/0.1.15
npm info preinstall pomelo@0.3.1
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/socket.io/0.9.13
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/pomelo-sync/0.0.3
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/async/0.2.5
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/seq-queue/0.0.5
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/cliff/0.1.8
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/mkdirp/0.3.3
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/pomelo-loader/0.0.4
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/pomelo-protocol/0.1.0
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/pomelo-rpc/0.1.0
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/pomelo-admin/0.1.0
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/pomelo-monitor/0.3.5
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/ws/0.4.25
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/pomelo-logger/0.0.2
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/toobusy/0.2.2
npm info trying registry request attempt 1 at 15:17:32
npm http GET https://registry.npmjs.org/pomelo-protobuf/0.3.0
npm http 304 https://registry.npmjs.org/dequeue/1.0.3
npm http 304 https://registry.npmjs.org/async/0.1.15
npm http 304 https://registry.npmjs.org/pomelo-sync/0.0.3
npm http 304 https://registry.npmjs.org/socket.io/0.9.13
npm info install dequeue@1.0.3 into /gitHubSource/chatofpomelo/game-server/node_modules/log4js
npm info install async@0.1.15 into /gitHubSource/chatofpomelo/game-server/node_modules/log4js
npm info installOne dequeue@1.0.3
npm info installOne async@0.1.15
npm info /gitHubSource/chatofpomelo/game-server/node_modules/log4js/node_modules/dequeue unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/log4js/node_modules/async unbuild
npm http 304 https://registry.npmjs.org/async/0.2.5
npm info preinstall dequeue@1.0.3
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/log4js/node_modules/dequeue
npm info linkStuff dequeue@1.0.3
npm info install dequeue@1.0.3
npm info postinstall dequeue@1.0.3
npm info preinstall async@0.1.15
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/log4js/node_modules/async
npm info linkStuff async@0.1.15
npm info install async@0.1.15
npm info postinstall async@0.1.15
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/log4js
npm info linkStuff log4js@0.5.7
npm info install log4js@0.5.7
npm info postinstall log4js@0.5.7
npm http 304 https://registry.npmjs.org/seq-queue/0.0.5
npm http 304 https://registry.npmjs.org/cliff/0.1.8
npm http 304 https://registry.npmjs.org/mkdirp/0.3.3
npm http 304 https://registry.npmjs.org/pomelo-loader/0.0.4
npm http 304 https://registry.npmjs.org/pomelo-protocol/0.1.0
npm http 304 https://registry.npmjs.org/pomelo-admin/0.1.0
npm http 304 https://registry.npmjs.org/pomelo-rpc/0.1.0
npm http 304 https://registry.npmjs.org/pomelo-monitor/0.3.5
npm WARN package.json pomelo-admin@0.1.0 No README.md file found!
npm http 304 https://registry.npmjs.org/ws/0.4.25
npm http 304 https://registry.npmjs.org/pomelo-logger/0.0.2
npm http 304 https://registry.npmjs.org/pomelo-protobuf/0.3.0
npm http 304 https://registry.npmjs.org/toobusy/0.2.2
npm info install pomelo-sync@0.0.3 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install socket.io@0.9.13 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install async@0.2.5 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install seq-queue@0.0.5 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install cliff@0.1.8 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install pomelo-loader@0.0.4 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install mkdirp@0.3.3 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install pomelo-protocol@0.1.0 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install pomelo-admin@0.1.0 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install pomelo-rpc@0.1.0 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install pomelo-monitor@0.3.5 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install ws@0.4.25 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install pomelo-logger@0.0.2 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install toobusy@0.2.2 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info install pomelo-protobuf@0.3.0 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info installOne pomelo-sync@0.0.3
npm info installOne socket.io@0.9.13
npm info installOne async@0.2.5
npm info installOne seq-queue@0.0.5
npm info installOne cliff@0.1.8
npm info installOne pomelo-loader@0.0.4
npm info installOne mkdirp@0.3.3
npm info installOne pomelo-protocol@0.1.0
npm info installOne pomelo-admin@0.1.0
npm info installOne pomelo-rpc@0.1.0
npm info installOne pomelo-monitor@0.3.5
npm info installOne ws@0.4.25
npm info installOne pomelo-logger@0.0.2
npm info installOne toobusy@0.2.2
npm info installOne pomelo-protobuf@0.3.0
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-sync unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/async unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/seq-queue unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-loader unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/mkdirp unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-protocol unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-monitor unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-logger unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/toobusy unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-protobuf unbuild
npm info preinstall pomelo-logger@0.0.2
npm info preinstall pomelo-monitor@0.3.5
npm info preinstall seq-queue@0.0.5
npm info preinstall pomelo-protocol@0.1.0
npm info preinstall pomelo-loader@0.0.4
npm info preinstall toobusy@0.2.2
npm info preinstall async@0.2.5
npm info preinstall mkdirp@0.3.3
npm info preinstall pomelo-protobuf@0.3.0
npm info preinstall pomelo-sync@0.0.3
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-logger
npm info preinstall pomelo-admin@0.1.0
npm info linkStuff pomelo-logger@0.0.2
npm info install pomelo-logger@0.0.2
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-monitor
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/seq-queue
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-protocol
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-loader
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/async
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/mkdirp
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-protobuf
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-sync
npm info postinstall pomelo-logger@0.0.2
npm info linkStuff pomelo-monitor@0.3.5
npm info linkStuff seq-queue@0.0.5
npm info linkStuff pomelo-protocol@0.1.0
npm info linkStuff pomelo-loader@0.0.4
npm info linkStuff async@0.2.5
npm info linkStuff mkdirp@0.3.3
npm info linkStuff pomelo-protobuf@0.3.0
npm info linkStuff pomelo-sync@0.0.3
npm info install pomelo-monitor@0.3.5
npm info install seq-queue@0.0.5
npm info install pomelo-protocol@0.1.0
npm info install pomelo-loader@0.0.4
npm info install async@0.2.5
npm info install mkdirp@0.3.3
npm info install pomelo-protobuf@0.3.0
npm info install pomelo-sync@0.0.3
npm info postinstall pomelo-monitor@0.3.5
npm info postinstall seq-queue@0.0.5
npm info postinstall pomelo-protocol@0.1.0
npm info postinstall pomelo-loader@0.0.4
npm info postinstall async@0.2.5
npm info postinstall mkdirp@0.3.3
npm info postinstall pomelo-protobuf@0.3.0
npm info postinstall pomelo-sync@0.0.3
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/bindings/1.0.0
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/pomelo-schedule/0.3.4
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/pomelo-monitor/0.3.7
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/socket.io-client/0.9.11
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/v8-profiler/3.6.2-1
npm info preinstall pomelo-rpc@0.1.0
npm info preinstall socket.io@0.9.13
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/socket.io-client
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/stream-pkg/0.0.4
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/base64id/0.1.0
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/redis/0.7.3
npm info preinstall cliff@0.1.8
npm info preinstall ws@0.4.25
npm info addNameTag [ 'options', 'latest' ]
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/colors
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/eyes
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/winston
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/tinycolor
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/options
npm info trying registry request attempt 1 at 15:17:34
npm http GET https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/bindings/1.0.0
npm http 304 https://registry.npmjs.org/pomelo-schedule/0.3.4
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.11
npm http 304 https://registry.npmjs.org/v8-profiler/3.6.2-1
npm http 304 https://registry.npmjs.org/pomelo-monitor/0.3.7
npm info install bindings@1.0.0 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/toobusy
npm info installOne bindings@1.0.0
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/toobusy/node_modules/bindings unbuild
npm info install pomelo-schedule@0.3.4 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin
npm info install socket.io-client@0.9.11 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin
npm info install pomelo-monitor@0.3.7 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin
npm info install v8-profiler@3.6.2-1 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin
npm info installOne pomelo-schedule@0.3.4
npm info installOne socket.io-client@0.9.11
npm info installOne pomelo-monitor@0.3.7
npm info installOne v8-profiler@3.6.2-1
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/pomelo-schedule unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/pomelo-monitor unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/v8-profiler unbuild
npm info preinstall bindings@1.0.0
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/toobusy/node_modules/bindings
npm info linkStuff bindings@1.0.0
npm info install bindings@1.0.0
npm info postinstall bindings@1.0.0
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/toobusy
npm info linkStuff toobusy@0.2.2
npm info install toobusy@0.2.2

> toobusy@0.2.2 install /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/toobusy
> node-gyp rebuild

npm info preinstall pomelo-schedule@0.3.4
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/pomelo-schedule
npm info linkStuff pomelo-schedule@0.3.4
npm info install pomelo-schedule@0.3.4
npm info postinstall pomelo-schedule@0.3.4
npm info preinstall pomelo-monitor@0.3.7
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/pomelo-monitor
npm info linkStuff pomelo-monitor@0.3.7
npm info install pomelo-monitor@0.3.7
npm info postinstall pomelo-monitor@0.3.7
npm info preinstall v8-profiler@3.6.2-1
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/v8-profiler
npm info linkStuff v8-profiler@3.6.2-1
npm info install v8-profiler@3.6.2-1

> v8-profiler@3.6.2-1 install /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/v8-profiler
> node-gyp rebuild

npm http 304 https://registry.npmjs.org/socket.io-client
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/stream-pkg/0.0.4
npm http 304 https://registry.npmjs.org/redis/0.7.3
npm http 304 https://registry.npmjs.org/base64id/0.1.0
npm info install socket.io-client@0.9.11 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc
npm info install stream-pkg@0.0.4 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc
npm info installOne socket.io-client@0.9.11
npm info installOne stream-pkg@0.0.4
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/stream-pkg unbuild
npm info install socket.io-client@0.9.11 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io
npm info install base64id@0.1.0 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io
npm info install redis@0.7.3 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io
npm info install policyfile@0.0.4 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io
npm info installOne socket.io-client@0.9.11
npm info installOne base64id@0.1.0
npm info installOne redis@0.7.3
npm info installOne policyfile@0.0.4
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/base64id unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/redis unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/policyfile unbuild
gyp info it worked if it ends with ok
gyp info using node-gyp@0.9.5
gyp info using node@0.8.23 | darwin | x64
npm info preinstall base64id@0.1.0
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/base64id
npm info linkStuff base64id@0.1.0
npm info install base64id@0.1.0
npm info postinstall base64id@0.1.0
gyp info it worked if it ends with ok
gyp info using node-gyp@0.9.5
gyp info using node@0.8.23 | darwin | x64
npm info preinstall stream-pkg@0.0.4
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/stream-pkg
npm info linkStuff stream-pkg@0.0.4
npm info install stream-pkg@0.0.4
npm info postinstall stream-pkg@0.0.4
npm info preinstall policyfile@0.0.4
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/policyfile
npm info linkStuff policyfile@0.0.4
npm info install policyfile@0.0.4
npm info postinstall policyfile@0.0.4
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/tinycolor
npm info install colors@0.6.0-1 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff
npm info install eyes@0.1.8 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff
npm info install winston@0.6.2 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff
npm info installOne colors@0.6.0-1
npm info installOne eyes@0.1.8
npm info installOne winston@0.6.2
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/colors unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/eyes unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston unbuild
npm info preinstall colors@0.6.0-1
npm info preinstall eyes@0.1.8
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/colors
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/eyes
npm info linkStuff colors@0.6.0-1
npm info linkStuff eyes@0.1.8
npm info install colors@0.6.0-1
npm info install eyes@0.1.8
npm info postinstall colors@0.6.0-1
npm info postinstall eyes@0.1.8
npm info preinstall redis@0.7.3
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/redis
npm info linkStuff redis@0.7.3
npm info install redis@0.7.3
npm info postinstall redis@0.7.3
npm http 304 https://registry.npmjs.org/commander
npm info preinstall winston@0.6.2
npm info trying registry request attempt 1 at 15:17:36
npm http GET https://registry.npmjs.org/cycle
npm info trying registry request attempt 1 at 15:17:36
npm http GET https://registry.npmjs.org/pkginfo
npm info trying registry request attempt 1 at 15:17:36
npm http GET https://registry.npmjs.org/request
npm info trying registry request attempt 1 at 15:17:36
npm http GET https://registry.npmjs.org/stack-trace
npm info install tinycolor@0.0.1 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws
npm info install options@0.0.5 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws
npm info install commander@0.6.1 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws
npm info installOne tinycolor@0.0.1
npm info installOne options@0.0.5
npm info installOne commander@0.6.1
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws/node_modules/tinycolor unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws/node_modules/options unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws/node_modules/commander unbuild
npm info trying registry request attempt 1 at 15:17:36
npm http GET https://registry.npmjs.org/async
npm info preinstall tinycolor@0.0.1
npm info preinstall options@0.0.5
npm info preinstall commander@0.6.1
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws/node_modules/tinycolor
npm info linkStuff tinycolor@0.0.1
npm info install tinycolor@0.0.1
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws/node_modules/options
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws/node_modules/commander
npm info postinstall tinycolor@0.0.1
npm info linkStuff options@0.0.5
npm info linkStuff commander@0.6.1
npm info install options@0.0.5
npm info install commander@0.6.1
npm info postinstall options@0.0.5
npm info postinstall commander@0.6.1
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws
npm info linkStuff ws@0.4.25
npm info install ws@0.4.25

> ws@0.4.25 install /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

npm info preinstall socket.io-client@0.9.11
npm info trying registry request attempt 1 at 15:17:37
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm info trying registry request attempt 1 at 15:17:37
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm info trying registry request attempt 1 at 15:17:37
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
gyp info spawn python
gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/toobusy/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/newapple/.node-gyp/0.8.23/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/newapple/.node-gyp/0.8.23',
gyp info spawn args '-Dmodule_root_dir=/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/toobusy',
gyp info spawn args '--depth=.',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn python
gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/v8-profiler/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/newapple/.node-gyp/0.8.23/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/newapple/.node-gyp/0.8.23',
gyp info spawn args '-Dmodule_root_dir=/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/v8-profiler',
gyp info spawn args '--depth=.',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
npm info preinstall socket.io-client@0.9.11
npm info preinstall socket.io-client@0.9.11
npm http 304 https://registry.npmjs.org/stack-trace
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm info install active-x-obfuscator@0.0.1 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client
npm info install uglify-js@1.2.5 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client
npm info install xmlhttprequest@1.4.2 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client
npm info installOne active-x-obfuscator@0.0.1
npm info installOne uglify-js@1.2.5
npm info installOne xmlhttprequest@1.4.2
npm info install active-x-obfuscator@0.0.1 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client
npm info install uglify-js@1.2.5 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client
npm info install xmlhttprequest@1.4.2 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client
npm info installOne active-x-obfuscator@0.0.1
npm info installOne uglify-js@1.2.5
npm info installOne xmlhttprequest@1.4.2
npm info install active-x-obfuscator@0.0.1 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client
npm info install uglify-js@1.2.5 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client
npm info install xmlhttprequest@1.4.2 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client
npm info installOne active-x-obfuscator@0.0.1
npm info installOne uglify-js@1.2.5
npm info installOne xmlhttprequest@1.4.2
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/node_modules/active-x-obfuscator unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/node_modules/uglify-js unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/node_modules/xmlhttprequest unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client/node_modules/active-x-obfuscator unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client/node_modules/uglify-js unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client/node_modules/xmlhttprequest unbuild
npm info preinstall active-x-obfuscator@0.0.1
npm info preinstall xmlhttprequest@1.4.2
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/node_modules/xmlhttprequest
npm info linkStuff xmlhttprequest@1.4.2
npm info install xmlhttprequest@1.4.2
npm info postinstall xmlhttprequest@1.4.2
npm info trying registry request attempt 1 at 15:17:38
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm info preinstall active-x-obfuscator@0.0.1
npm info preinstall xmlhttprequest@1.4.2
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest
npm info linkStuff xmlhttprequest@1.4.2
npm info install xmlhttprequest@1.4.2
npm info postinstall xmlhttprequest@1.4.2
npm info preinstall xmlhttprequest@1.4.2
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client/node_modules/xmlhttprequest
npm info linkStuff xmlhttprequest@1.4.2
npm info install xmlhttprequest@1.4.2
npm info postinstall xmlhttprequest@1.4.2
npm info preinstall active-x-obfuscator@0.0.1
npm http 304 https://registry.npmjs.org/pkginfo
npm info install stack-trace@0.0.6 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston
npm info install cycle@1.0.2 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston
npm info install request@2.9.203 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston
npm info install async@0.1.22 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston
npm info install pkginfo@0.2.3 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston
npm info installOne stack-trace@0.0.6
npm info installOne cycle@1.0.2
npm info installOne request@2.9.203
npm info installOne async@0.1.22
npm info installOne pkginfo@0.2.3
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston/node_modules/stack-trace unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston/node_modules/cycle unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston/node_modules/request unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston/node_modules/async unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston/node_modules/pkginfo unbuild
npm info preinstall cycle@1.0.2
npm info preinstall stack-trace@0.0.6
npm info preinstall pkginfo@0.2.3
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston/node_modules/cycle
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston/node_modules/stack-trace
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston/node_modules/pkginfo
npm info linkStuff cycle@1.0.2
npm info linkStuff stack-trace@0.0.6
npm info linkStuff pkginfo@0.2.3
npm info install cycle@1.0.2
npm info install stack-trace@0.0.6
npm info install pkginfo@0.2.3
npm info postinstall cycle@1.0.2
npm info postinstall stack-trace@0.0.6
npm info postinstall pkginfo@0.2.3
npm info preinstall async@0.1.22
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston/node_modules/async
npm info linkStuff async@0.1.22
npm info install async@0.1.22
npm info postinstall async@0.1.22
npm info preinstall request@2.9.203
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston/node_modules/request
npm info linkStuff request@2.9.203
npm info install request@2.9.203
npm info postinstall request@2.9.203
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff/node_modules/winston
npm info linkStuff winston@0.6.2
npm info install winston@0.6.2
npm info postinstall winston@0.6.2
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/cliff
npm info linkStuff cliff@0.1.8
npm info install cliff@0.1.8
npm info postinstall cliff@0.1.8
npm info preinstall uglify-js@1.2.5
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/node_modules/uglify-js
npm info linkStuff uglify-js@1.2.5
npm info install uglify-js@1.2.5
npm info postinstall uglify-js@1.2.5
npm info preinstall uglify-js@1.2.5
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client/node_modules/uglify-js
npm info linkStuff uglify-js@1.2.5
npm info install uglify-js@1.2.5
npm info postinstall uglify-js@1.2.5
gypgyp info infospawn make
spawn make
gyp gyp infoinfo spawn argsspawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
[ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/toobusy/toobusy.o
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
CXX(target) Release/obj.target/profiler/cpu_profiler.o
npm info preinstall uglify-js@1.2.5
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js
npm info linkStuff uglify-js@1.2.5
npm info install uglify-js@1.2.5
npm info postinstall uglify-js@1.2.5
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm info install zeparser@0.0.5 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/node_modules/active-x-obfuscator
npm info installOne zeparser@0.0.5
npm info install zeparser@0.0.5 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator
npm info installOne zeparser@0.0.5
npm info install zeparser@0.0.5 into /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client/node_modules/active-x-obfuscator
npm info installOne zeparser@0.0.5
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser unbuild
npm info /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser unbuild
CXX(target) Release/obj.target/profiler/graph_edge.o
SOLINK_MODULE(target) Release/bufferutil.node
SOLINK_MODULE(target) Release/toobusy.node
npm info preinstall zeparser@0.0.5
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser
npm info linkStuff zeparser@0.0.5
npm info install zeparser@0.0.5
npm info postinstall zeparser@0.0.5
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client/node_modules/active-x-obfuscator
npm info linkStuff active-x-obfuscator@0.0.1
npm info install active-x-obfuscator@0.0.1
npm info postinstall active-x-obfuscator@0.0.1
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/node_modules/socket.io-client
npm info linkStuff socket.io-client@0.9.11
npm info install socket.io-client@0.9.11
npm info postinstall socket.io-client@0.9.11
CXX(target) Release/obj.target/profiler/graph_node.o
CXX(target) Release/obj.target/profiler/heap_profiler.o
CXX(target) Release/obj.target/profiler/profile.o
CXX(target) Release/obj.target/profiler/profile_node.o
SOLINK_MODULE(target) Release/bufferutil.node: Finished
SOLINK_MODULE(target) Release/toobusy.node: Finished
gyp info ok
CXX(target) Release/obj.target/validation/src/validation.o
npm info preinstall zeparser@0.0.5
npm info postinstall toobusy@0.2.2
CXX(target) Release/obj.target/profiler/profiler.o
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser
npm info linkStuff zeparser@0.0.5
npm info install zeparser@0.0.5
npm info postinstall zeparser@0.0.5
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client/node_modules/active-x-obfuscator
npm info linkStuff active-x-obfuscator@0.0.1
npm info install active-x-obfuscator@0.0.1
npm info postinstall active-x-obfuscator@0.0.1
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc/node_modules/socket.io-client
npm info linkStuff socket.io-client@0.9.11
npm info install socket.io-client@0.9.11
npm info postinstall socket.io-client@0.9.11
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-rpc
npm info linkStuff pomelo-rpc@0.1.0
npm info install pomelo-rpc@0.1.0
npm info postinstall pomelo-rpc@0.1.0
CXX(target) Release/obj.target/profiler/snapshot.o
SOLINK_MODULE(target) Release/validation.node
In file included from ../snapshot.cc:1:
../snapshot.h:20:29: warning: private field 'm_snapshot' is not used
[-Wunused-private-field]
const v8::HeapSnapshot* m_snapshot;
^
SOLINK_MODULE(target) Release/validation.node: Finished
npm info postinstall ws@0.4.25
1 warning generated.
SOLINK_MODULE(target) Release/profiler.node
SOLINK_MODULE(target) Release/profiler.node: Finished
gyp info ok
npm info postinstall v8-profiler@3.6.2-1
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin
npm info linkStuff pomelo-admin@0.1.0
npm info install pomelo-admin@0.1.0
npm info postinstall pomelo-admin@0.1.0
npm info preinstall zeparser@0.0.5
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser
npm info linkStuff zeparser@0.0.5
npm info install zeparser@0.0.5
npm info postinstall zeparser@0.0.5
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator
npm info linkStuff active-x-obfuscator@0.0.1
npm info install active-x-obfuscator@0.0.1
npm info postinstall active-x-obfuscator@0.0.1
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/node_modules/socket.io-client
npm info linkStuff socket.io-client@0.9.11
npm info install socket.io-client@0.9.11
npm info postinstall socket.io-client@0.9.11
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io
npm info linkStuff socket.io@0.9.13
npm info install socket.io@0.9.13
npm info postinstall socket.io@0.9.13
npm info build /gitHubSource/chatofpomelo/game-server/node_modules/pomelo
npm info linkStuff pomelo@0.3.1
npm info install pomelo@0.3.1
npm info postinstall pomelo@0.3.1
npm info build /gitHubSource/chatofpomelo/game-server
npm info linkStuff chatofpomelo@0.0.1
npm info install chatofpomelo@0.0.1
npm info postinstall chatofpomelo@0.0.1
npm info prepublish chatofpomelo@0.0.1
crc@0.2.0 node_modules/crc

log4js@0.5.7 node_modules/log4js
├── dequeue@1.0.3
└── async@0.1.15

pomelo@0.3.1 node_modules/pomelo
├── pomelo-logger@0.0.2
├── pomelo-monitor@0.3.5
├── seq-queue@0.0.5
├── pomelo-protocol@0.1.0
├── pomelo-loader@0.0.4
├── async@0.2.5
├── mkdirp@0.3.3
├── pomelo-protobuf@0.3.0
├── pomelo-sync@0.0.3
├── cliff@0.1.8 (colors@0.6.0-1, eyes@0.1.8, winston@0.6.2)
├── toobusy@0.2.2 (bindings@1.0.0)
├── pomelo-rpc@0.1.0 (stream-pkg@0.0.4, socket.io-client@0.9.11)
├── ws@0.4.25 (tinycolor@0.0.1, options@0.0.5, commander@0.6.1)
├── pomelo-admin@0.1.0 (pomelo-schedule@0.3.4, pomelo-monitor@0.3.7, socket.io-client@0.9.11, v8-profiler@3.6.2-1)
└── socket.io@0.9.13 (base64id@0.1.0, policyfile@0.0.4, redis@0.7.3, socket.io-client@0.9.11)
npm info ok
============ game-server npm installed ============
npm info it worked if it ends with ok
npm info using npm@1.2.18
npm info using node@v0.8.23
npm WARN package.json chatofpomelo@0.0.1 No README.md file found!
npm info preinstall chatofpomelo@0.0.1
npm info trying registry request attempt 1 at 15:17:44
npm http GET https://registry.npmjs.org/express/2.5.2
npm http 304 https://registry.npmjs.org/express/2.5.2
npm info install express@2.5.2 into /gitHubSource/chatofpomelo/web-server
npm info installOne express@2.5.2
npm WARN engine express@2.5.2: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"v0.8.23","npm":"1.2.18"})
npm info /gitHubSource/chatofpomelo/web-server/node_modules/express unbuild
npm info preinstall express@2.5.2
npm info trying registry request attempt 1 at 15:17:46
npm http GET https://registry.npmjs.org/mime
npm info trying registry request attempt 1 at 15:17:46
npm http GET https://registry.npmjs.org/connect
npm info trying registry request attempt 1 at 15:17:46
npm http GET https://registry.npmjs.org/qs
npm info trying registry request attempt 1 at 15:17:46
npm http GET https://registry.npmjs.org/mkdirp/0.0.7
npm http 304 https://registry.npmjs.org/mkdirp/0.0.7
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/connect
npm http 304 https://registry.npmjs.org/qs
npm WARN package.json connect@1.8.7 No README.md file found!
npm info install mkdirp@0.0.7 into /gitHubSource/chatofpomelo/web-server/node_modules/express
npm info install mime@1.2.9 into /gitHubSource/chatofpomelo/web-server/node_modules/express
npm info install connect@1.8.7 into /gitHubSource/chatofpomelo/web-server/node_modules/express
npm info install qs@0.6.1 into /gitHubSource/chatofpomelo/web-server/node_modules/express
npm info installOne mkdirp@0.0.7
npm info installOne mime@1.2.9
npm info installOne connect@1.8.7
npm WARN engine connect@1.8.7: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"v0.8.23","npm":"1.2.18"})
npm info installOne qs@0.6.1
npm info /gitHubSource/chatofpomelo/web-server/node_modules/express/node_modules/mkdirp unbuild
npm info /gitHubSource/chatofpomelo/web-server/node_modules/express/node_modules/mime unbuild
npm info /gitHubSource/chatofpomelo/web-server/node_modules/express/node_modules/connect unbuild
npm info /gitHubSource/chatofpomelo/web-server/node_modules/express/node_modules/qs unbuild
npm info preinstall mime@1.2.9
npm info build /gitHubSource/chatofpomelo/web-server/node_modules/express/node_modules/mime
npm info linkStuff mime@1.2.9
npm info install mime@1.2.9
npm info postinstall mime@1.2.9
npm info preinstall qs@0.6.1
npm info build /gitHubSource/chatofpomelo/web-server/node_modules/express/node_modules/qs
npm info linkStuff qs@0.6.1
npm info install qs@0.6.1
npm info postinstall qs@0.6.1
npm info preinstall mkdirp@0.0.7
npm info build /gitHubSource/chatofpomelo/web-server/node_modules/express/node_modules/mkdirp
npm info linkStuff mkdirp@0.0.7
npm info install mkdirp@0.0.7
npm info postinstall mkdirp@0.0.7
npm info preinstall connect@1.8.7
npm info trying registry request attempt 1 at 15:17:49
npm http GET https://registry.npmjs.org/formidable
npm http 304 https://registry.npmjs.org/formidable
npm info install formidable@1.0.13 into /gitHubSource/chatofpomelo/web-server/node_modules/express/node_modules/connect
npm info installOne formidable@1.0.13
npm info /gitHubSource/chatofpomelo/web-server/node_modules/express/node_modules/connect/node_modules/formidable unbuild
npm info preinstall formidable@1.0.13
npm info build /gitHubSource/chatofpomelo/web-server/node_modules/express/node_modules/connect/node_modules/formidable
npm info linkStuff formidable@1.0.13
npm info install formidable@1.0.13
npm info postinstall formidable@1.0.13
npm info build /gitHubSource/chatofpomelo/web-server/node_modules/express/node_modules/connect
npm info linkStuff connect@1.8.7
npm info install connect@1.8.7
npm info postinstall connect@1.8.7
npm info build /gitHubSource/chatofpomelo/web-server/node_modules/express
npm info linkStuff express@2.5.2
npm info install express@2.5.2
npm info postinstall express@2.5.2
npm info build /gitHubSource/chatofpomelo/web-server
npm info linkStuff chatofpomelo@0.0.1
npm info install chatofpomelo@0.0.1
npm info postinstall chatofpomelo@0.0.1
npm info prepublish chatofpomelo@0.0.1
express@2.5.2 node_modules/express
├── mime@1.2.9
├── qs@0.6.1
├── mkdirp@0.0.7
└── connect@1.8.7 (formidable@1.0.13)
npm info ok
============ web-server npm installed ============

#7 cz460909 2013-5-3 13:03 回复

深深吐血求关注...

#8 {1} py8765 2013-5-5 14:34 回复

我刚刚又试过了 也没有出现你的那个问题,你的那个报错是在运行服务器启动命令的时候报错。你把之前的删掉,再重新clone一下,然后sh npm-install.sh,最后直接到chatofpomelo/game-server下面运行node app。如果还有问题再交流。

cz460909 2013-5-13 17:56 回复

重新CLONE好几次了,这个问题依然存在...
直接CD到GAME SERVER下NODE APP.JS会这样

Last login: Mon May 13 08:44:44 on console
newappletekiMac-mini:~ newapple$ cd /gitHubSource/chatofpomelo/game-server
newappletekiMac-mini:game-server newapple$ ls
app config node_modules
app.js logs package.json
newappletekiMac-mini:game-server newapple$ node app.js
[2013-05-13 17:43:11.637] [INFO] /node_modules/pomelo/lib/application.js - application inited: "master-server-1"
[2013-05-13 17:43:12.226] [INFO] console - info - 'socket.io started'
[2013-05-13 17:43:12.229] [ERROR] console - Caught exception: Error: listen EADDRINUSE
at errnoException (net.js:770:11)
at Server._listen2 (net.js:910:14)
at listen (net.js:932:10)
at Server.listen (net.js:998:5)
at Object.exports.listen (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/socket.io/lib/socket.io.js:74:12)
at MasterAgent.listen (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/lib/masterAgent.js:57:21)
at ConsoleService.start (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js:58:14)
at Server.start (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/master/master.js:33:22)
at pro.start (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/components/master.js:34:15)
at module.exports.optComponents (/gitHubSource/chatofpomelo/game-server/node_modules/pomelo/lib/util/appUtil.js:82:19)
[2013-05-13 17:43:12.230] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node /gitHubSource/chatofpomelo/game-server/app.js env=development id=connector-server-1 host=127.0.0.1 port=4050 clientPort=3050 frontend=true serverType=connector locally
[2013-05-13 17:43:12.235] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node /gitHubSource/chatofpomelo/game-server/app.js env=development id=connector-server-2 host=127.0.0.1 port=4051 clientPort=3051 frontend=true serverType=connector locally
[2013-05-13 17:43:12.238] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node /gitHubSource/chatofpomelo/game-server/app.js env=development id=connector-server-3 host=127.0.0.1 port=4052 clientPort=3052 frontend=true serverType=connector locally
[2013-05-13 17:43:12.240] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node /gitHubSource/chatofpomelo/game-server/app.js env=development id=chat-server-1 host=127.0.0.1 port=6050 serverType=chat locally
[2013-05-13 17:43:12.243] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node /gitHubSource/chatofpomelo/game-server/app.js env=development id=chat-server-2 host=127.0.0.1 port=6051 serverType=chat locally
[2013-05-13 17:43:12.247] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node /gitHubSource/chatofpomelo/game-server/app.js env=development id=chat-server-3 host=127.0.0.1 port=6052 serverType=chat locally
[2013-05-13 17:43:12.259] [INFO] /node_modules/pomelo/lib/master/starter.js - Executing cd /gitHubSource/chatofpomelo/game-server && node /gitHubSource/chatofpomelo/game-server/app.js env=development id=gate-server-1 host=127.0.0.1 clientPort=3014 frontend=true serverType=gate locally
[2013-05-13 17:43:12.266] [INFO] /node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js - try to connect master: "master", "127.0.0.1", 3005
[2013-05-13 17:43:12.603] [INFO] console - [2013-05-13 17:43:12.578] [INFO] /node_modules/pomelo/lib/application.js - application inited: "connector-server-1"

[2013-05-13 17:43:12.636] [INFO] console - [2013-05-13 17:43:12.611] [INFO] /node_modules/pomelo/lib/application.js - application inited: "chat-server-1"

[2013-05-13 17:43:12.647] [INFO] console - [2013-05-13 17:43:12.618] [INFO] /node_modules/pomelo/lib/application.js - application inited: "connector-server-2"

[2013-05-13 17:43:12.654] [INFO] console - [2013-05-13 17:43:12.617] [INFO] /node_modules/pomelo/lib/application.js - application inited: "connector-server-3"

[2013-05-13 17:43:12.665] [INFO] console - [2013-05-13 17:43:12.610] [INFO] /node_modules/pomelo/lib/application.js - application inited: "chat-server-3"

[2013-05-13 17:43:12.671] [INFO] console - [2013-05-13 17:43:12.629] [INFO] /node_modules/pomelo/lib/application.js - application inited: "chat-server-2"

[2013-05-13 17:43:12.692] [INFO] console - [2013-05-13 17:43:12.638] [INFO] /node_modules/pomelo/lib/application.js - application inited: "gate-server-1"

[2013-05-13 17:43:13.668] [INFO] console - [2013-05-13 17:43:13.667] [INFO] console - info: 'socket.io started'

[2013-05-13 17:43:13.668] [INFO] console - [2013-05-13 17:43:13.667] [INFO] console - info: 'socket.io started'

[2013-05-13 17:43:13.671] [INFO] console - [2013-05-13 17:43:13.670] [INFO] console - info: 'socket.io started'

[2013-05-13 17:43:13.717] [INFO] console - [2013-05-13 17:43:13.717] [INFO] /node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js - try to connect master: "chat", "127.0.0.1", 3005

[2013-05-13 17:43:13.727] [INFO] console - [2013-05-13 17:43:13.727] [INFO] /node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js - try to connect master: "chat", "127.0.0.1", 3005

[2013-05-13 17:43:13.744] [INFO] console - [2013-05-13 17:43:13.744] [INFO] /node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js - try to connect master: "chat", "127.0.0.1", 3005

[2013-05-13 17:43:13.875] [INFO] console - [2013-05-13 17:43:13.874] [INFO] /node_modules/pomelo/lib/application.js - "chat-server-3" enter after start...

[2013-05-13 17:43:13.875] [INFO] console - [2013-05-13 17:43:13.875] [INFO] /node_modules/pomelo/lib/application.js - "chat-server-3" finish start

[2013-05-13 17:43:13.876] [INFO] console - [2013-05-13 17:43:13.874] [INFO] /node_modules/pomelo/lib/application.js - "chat-server-1" enter after start...

[2013-05-13 17:43:13.877] [INFO] console - [2013-05-13 17:43:13.877] [INFO] /node_modules/pomelo/lib/application.js - "chat-server-1" finish start

[2013-05-13 17:43:13.924] [INFO] console - [2013-05-13 17:43:13.923] [INFO] console - info: 'socket.io started'

[2013-05-13 17:43:13.942] [INFO] console - [2013-05-13 17:43:13.941] [INFO] /node_modules/pomelo/lib/application.js - "chat-server-2" enter after start...

[2013-05-13 17:43:13.943] [INFO] console - [2013-05-13 17:43:13.942] [INFO] /node_modules/pomelo/lib/application.js - "chat-server-2" finish start

[2013-05-13 17:43:13.946] [INFO] console - [2013-05-13 17:43:13.945] [INFO] /node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js - try to connect master: "connector", "127.0.0.1", 3005

[2013-05-13 17:43:13.946] [INFO] console - [2013-05-13 17:43:13.945] [INFO] /node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js - try to connect master: "gate", "127.0.0.1", 3005

[2013-05-13 17:43:13.950] [INFO] console - [2013-05-13 17:43:13.949] [INFO] console - info: 'socket.io started'

[2013-05-13 17:43:13.959] [INFO] console - [2013-05-13 17:43:13.958] [INFO] console - info: 'socket.io started'

[2013-05-13 17:43:13.969] [INFO] console - [2013-05-13 17:43:13.968] [INFO] /node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js - try to connect master: "connector", "127.0.0.1", 3005

[2013-05-13 17:43:13.979] [INFO] console - [2013-05-13 17:43:13.978] [INFO] /node_modules/pomelo/node_modules/pomelo-admin/lib/consoleService.js - try to connect master: "connector", "127.0.0.1", 3005

[2013-05-13 17:43:14.022] [INFO] console - [2013-05-13 17:43:14.022] [INFO] /node_modules/pomelo/lib/application.js - "connector-server-1" enter after start...

[2013-05-13 17:43:14.025] [INFO] console - [2013-05-13 17:43:14.025] [INFO] console - info: 'socket.io started'

[2013-05-13 17:43:14.028] [INFO] console - [2013-05-13 17:43:14.027] [INFO] /node_modules/pomelo/lib/application.js - "connector-server-1" finish start

[2013-05-13 17:43:14.039] [INFO] console - [2013-05-13 17:43:14.038] [INFO] /node_modules/pomelo/lib/application.js - "gate-server-1" enter after start...

[2013-05-13 17:43:14.042] [INFO] console - [2013-05-13 17:43:14.042] [INFO] console - info: 'socket.io started'

[2013-05-13 17:43:14.043] [INFO] console - [2013-05-13 17:43:14.043] [INFO] /node_modules/pomelo/lib/application.js - "gate-server-1" finish start

[2013-05-13 17:43:14.050] [INFO] console - [2013-05-13 17:43:14.049] [INFO] /node_modules/pomelo/lib/application.js - "connector-server-2" enter after start...

[2013-05-13 17:43:14.053] [INFO] console - [2013-05-13 17:43:14.051] [INFO] console - info: 'socket.io started'
[2013-05-13 17:43:14.052] [INFO] /node_modules/pomelo/lib/application.js - "connector-server-2" finish start

[2013-05-13 17:43:14.056] [INFO] console - [2013-05-13 17:43:14.055] [INFO] /node_modules/pomelo/lib/application.js - "connector-server-3" enter after start...

[2013-05-13 17:43:14.057] [INFO] console - [2013-05-13 17:43:14.057] [INFO] console - info: 'socket.io started'

[2013-05-13 17:43:14.057] [INFO] console - [2013-05-13 17:43:14.057] [INFO] /node_modules/pomelo/lib/application.js - "connector-server-3" finish start

貌似依然有错

#9 {2} piaohai 2013-5-7 10:17 回复

> /bin/sh: node: command not found
>
> [2013-04-24 20:29:33.181] [INFO] console - /bin/sh: node: command not
> found
>
> [2013-04-24 20:29:33.290] [INFO]
> /node_modules/pomelo/lib/application.js

你的NODE不在这个目录,请设置NODE的用户环境变量,
另外建议,工程放在相关的用户目录中,不要直接放在/根目录里面

cz460909 2013-5-14 08:49 回复

!PIAOHAI好聪明啊,真的是这样,放到用户目录里启动就不报错了!你太强了!

cz460909 2013-5-14 09:14 回复

可是,如果在WEBSTORM里启动,还是会像上面那样报错....放到终端里确实不报错了...

回到顶部