-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Running the simple example and connecting to it with e.g. Putty kills the server with the following error after it has returned some data:
.. node_modules\telnet\node_modules\buffers\index.js:185
return this.buffers[pos.buf].get(pos.offset);
TypeError: this.buffers[pos.buf].get is not a function
at Buffers.get (C:\Users\jcl\AppData\Roaming\npm\node_modules\telnet\node_modules\buffers\index.js:185:34)
at parse (C:\Users\jcl\AppData\Roaming\npm\node_modules\telnet\lib\telnet.js:145:15)
at Socket. (C:\Users\jcl\AppData\Roaming\npm\node_modules\telnet\lib\telnet.js:201:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:548:20)