Skip to content

Instantly share code, notes, and snippets.

@bcomnes
Created June 21, 2016 22:25
Show Gist options
  • Save bcomnes/98dbea07172962d8240e6c3931714c4c to your computer and use it in GitHub Desktop.
Save bcomnes/98dbea07172962d8240e6c3931714c4c to your computer and use it in GitHub Desktop.
bret-mbr:testrun bret$ node generate.js
key is <Buffer 09 19 de 78 56 e7 dc 1a a8 c4 88 d5 1a b9 5d e7 4c 20 5e 5c e6 6e 94 12 6e 14 4e b5 13 10 e7 ca>
_stream_readable.js:561
var ret = dest.write(chunk);
^
TypeError: dest.write is not a function
at ReadStream.ondata (_stream_readable.js:561:20)
at emitOne (events.js:96:13)
at ReadStream.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:172:18)
at ReadStream.Readable.push (_stream_readable.js:130:10)
at onread (fs.js:1774:12)
at FSReqWrap.wrapper [as oncomplete] (fs.js:675:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment