You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 27, 2020. It is now read-only.
Hi, im not very good with code and things like that, but i tried before and did it and that was months ago. I have a problem. here is what shows up after i type node index.js into terminal.
TypeError: Cannot read property 'headers' of undefined
at GameServer.connectionEstablished (/Users/willchamberlain/Desktop/Ogar-master/src/GameServer.js:219:35)
at emitTwo (events.js:106:13)
at WebSocketServer.emit (events.js:191:7)
at handleUpgrade (/Users/willchamberlain/Desktop/Ogar-master/node_modules/ws/lib/WebSocketServer.js:88:16)
at WebSocketServer.completeUpgrade (/Users/willchamberlain/Desktop/Ogar-master/node_modules/ws/lib/WebSocketServer.js:270:5)
at WebSocketServer.handleUpgrade (/Users/willchamberlain/Desktop/Ogar-master/node_modules/ws/lib/WebSocketServer.js:197:10)
at Server.WebSocketServer._ultron.on (/Users/willchamberlain/Desktop/Ogar-master/node_modules/ws/lib/WebSocketServer.js:87:14)
at emitThree (events.js:116:13)
at Server.emit (events.js:194:7)
at onParserExecuteCommon (_http_server.js:409:14)