socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

TypeError: Cannot read property '0' of undefined

Open nookiepl opened this issue 15 years ago • 1 comments

/home/wonderlife/node_modules/socket.io/lib/parser.js:226 if (data[0] == '\ufffd') { ^ TypeError: Cannot read property '0' of undefined at Object.decodePayload (/home/wonderlife/node_modules/socket.io/lib/parser.js:226:11) at JSONPPolling.onData (/home/wonderlife/node_modules/socket.io/lib/transports/http.js:85:25) at IncomingMessage. (/home/wonderlife/node_modules/socket.io/lib/transports/http.js:57:12) at IncomingMessage.emit (events.js:61:17) at HTTPParser.onMessageComplete (http.js:133:23) at Socket.ondata (http.js:1019:22) at Socket._onReadable (net.js:683:27) at IOWatcher.onReadable as callback

nookiepl avatar Jul 21 '11 18:07 nookiepl

Oh, sorry! I've filled already that issue! :O

nookiepl avatar Jul 21 '11 18:07 nookiepl