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
When I run the sample code I get the following error:
TypeError: Cannot read property 'on' of undefined
at Socket.on in socket-io-server/lib/index.js — line 122
Socket.prototype.on = function (id, event, callback) {
var socket = this.getSocket(id);
socket.on.call(socket, event, callback);
};
/**
The text was updated successfully, but these errors were encountered:
When I run the sample code I get the following error:
The text was updated successfully, but these errors were encountered: