on-internet
← Community

Getting missing error handler socket message using Node.js and Socket.io

Stack Overflow ·

Hi i am getting the following error which run the server using Node.js and socket.io. Error: Missing error handler on `socket`. TypeError: Cannot read property 'connected' of undefined at Socket.<anonymous> (C:\Documents and Settings\Subhrajyoti\Desktop\Restore \htdocs\video broadcast\server.js:68:13) at Socket.emit (events.js:95:17) at Socket.onevent (C:\Documents and Settings\Subhrajyoti\Desktop\Restore\htd ocs\video broadcast\node_modules\socket.io\lib\socket.js:330:8) at Socket.onpacket (C:\Documents and Settings\Subhrajyoti\Desktop\Restore\ht docs\video broadcast\node_modules\socket.io\li

Comments

Sign in or sign up to comment and upvote.

No comments yet.