-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pomelo start error #23
Comments
pomelo version: 2.2.5 Same error. |
@liangmuren try to use node v5.x start the game server |
python version |
pomelo version: 2.2.5 |
same error. but i find a way to fix. |
"pomelo": "2.2.5" |
一,首先修改game-server文件夹内的package.json文件,pomelo版本改为2.2.5 安装Node.js 8.11.3版本 切换到8.11.3版本 删除game-server文件夹内的 node_modules文件夹 和 package-lock.json文件 返回上一层执行 it's working now |
it`s work |
pomelo version: 2.2.5
node version: v7.8.0
[2017-04-14 17:40:01.934] [INFO] pomelo - [/home/slayer/workspace/chatofpomelo-websocket/game-server/node_modules/._pomelo@1.2.0@pomelo/lib/application.js] application inited: "master-server-1"
/home/slayer/workspace/chatofpomelo-websocket/game-server/node_modules/._socket.io@[email protected]/lib/store.js:35
Store.prototype.proto = EventEmitter.prototype;
^
TypeError: Cannot read property 'prototype' of undefined
at Object. (/home/slayer/workspace/chatofpomelo-websocket/game-server/node_modules/._socket.io@[email protected]/lib/store.js:35:41)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/home/slayer/workspace/chatofpomelo-websocket/game-server/node_modules/._socket.io@[email protected]/lib/manager.js:16:13)
at Module._compile (module.js:571:32)
The text was updated successfully, but these errors were encountered: