socket.js:189 Uncaught TypeError: Cannot read property 'sid' of undefined code example
Example: Uncaught TypeError: Cannot read property 'sid' of undefined socket.io-client
I'm getting the same error when using last version of socket.io-client on Node.js. If I use an older version like v2.3.0 I don't get any error.