Closed j92z closed 3 years ago
More than likely, this is caused by incompatible versions of socket.io. can you please provide a minimum reproduction?
@jmcdo29 i get it. use incompatible versions of socket.io.
I have the exact same error and i don't understand what you mean by "incompatible versions of socket.io." can you please elaborate?
How to solve it???
Bug Report
Current behavior
when connect server, handleConnection() client.id is undefined.
when emit event, handleMessage() 'joinRoom' client.to is not a function
Input Code
Expected behavior
I wonder what caused socket object empty
Possible Solution
Environment