I get this error periodically when an incoming message fails to parse:
/home/ed/Projects/wikichanges/node_modules/irc-js/lib/irc.js:131
emitter.emit( message.command, message )
^
TypeError: Cannot read property 'command' of undefined
at IRC.parseMessage (/home/ed/Projects/wikichanges/node_modules/irc-js/lib/irc.js:131:28)
at Socket.EventEmitter.emit (events.js:95:17)
at Socket.<anonymous> (_stream_readable.js:746:14)
at Socket.EventEmitter.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:408:10)
at emitReadable (_stream_readable.js:404:5)
at readableAddChunk (_stream_readable.js:165:9)
at Socket.Readable.push (_stream_readable.js:127:10)
at TCP.onread (net.js:526:21)
Here is a sample program that connects to a bunch of Wikipedia update IRC channels, which should throw the error for you, if you let it run for 30 seconds or so:
I get this error periodically when an incoming message fails to parse:
Here is a sample program that connects to a bunch of Wikipedia update IRC channels, which should throw the error for you, if you let it run for 30 seconds or so: