vampserv / node-poker-stack

node.js based poker game server and HTML5 web client
132 stars 98 forks source link

Cannot run in the first time #8

Open cedricVu opened 6 years ago

cedricVu commented 6 years ago

Parser.prototype.proto = EventEmitter.prototype; ^

TypeError: Cannot read property 'prototype' of undefined

colorfulberry commented 6 years ago

@cedricVu This is due to the pomelo so many time not update depend a lower socket.io. For simple let it it run change package.json "pomelo": "1.2.1",

then find EventEmitter = process.EventEmitter under node_modules/socket.io then replace with EventEmitter = require('events')