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
I'm trying to get the tic-tac-toe sample colyseus game up and running on my machine, and I'm getting this error when I attempt to connect to the game. Here is the top of the TicTacToe.js file which is throwing the error:
TypeError: ClockTimer is not a constructor
at new TicTacToe (/home/daniel/javascript/test/server/rooms/tictactoe.js:21:18)
at MatchMaker.create (/home/daniel/javascript/test/server/node_modules/colyseus/lib/match_maker.js:85:12)
at MatchMaker.joinOrCreateByName (/home/daniel/javascript/test/server/node_modules/colyseus/lib/match_maker.js:48:75)
at Server.onJoinRoomRequest (/home/daniel/javascript/test/server/node_modules/colyseus/lib/server.js:102:30)
at Server.onMessage (/home/daniel/javascript/test/server/node_modules/colyseus/lib/server.js:77:14)
at emitTwo (events.js:125:13)
at WebSocket.emit (events.js:213:7)
at Receiver.onbinary (/home/daniel/javascript/test/server/node_modules/colyseus/node_modules/ws/lib/WebSocket.js:848:10)
at /home/daniel/javascript/test/server/node_modules/colyseus/node_modules/ws/lib/Receiver.js:628:18
at /home/daniel/javascript/test/server/node_modules/colyseus/node_modules/ws/lib/Receiver.js:368:7
Help is greatly appreciated
The text was updated successfully, but these errors were encountered:
I'm trying to get the tic-tac-toe sample colyseus game up and running on my machine, and I'm getting this error when I attempt to connect to the game. Here is the top of the TicTacToe.js file which is throwing the error:
and here is the stack trace:
Help is greatly appreciated
The text was updated successfully, but these errors were encountered: