Skip to content

Instantly share code, notes, and snippets.

@JerrySievert
Created August 15, 2014 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JerrySievert/3099dff10c7c27b6c286 to your computer and use it in GitHub Desktop.
Save JerrySievert/3099dff10c7c27b6c286 to your computer and use it in GitHub Desktop.
http.js:851
throw new TypeError('first argument must be a string or Buffer');
^
TypeError: first argument must be a string or Buffer
at ServerResponse.OutgoingMessage.write (http.js:851:11)
at write (/Users/jerry/work/http-db/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:605:24)
at flow (/Users/jerry/work/http-db/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:614:7)
at ReadStream.pipeOnReadable (/Users/jerry/work/http-db/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:646:5)
at ReadStream.emit (events.js:92:17)
at emitReadable_ (/Users/jerry/work/http-db/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:430:10)
at emitReadable (/Users/jerry/work/http-db/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:426:5)
at readableAddChunk (/Users/jerry/work/http-db/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:187:9)
at ReadStream.Readable.push (/Users/jerry/work/http-db/node_modules/levelup/node_modules/readable-stream/lib/_stream_readable.js:149:10)
at /Users/jerry/work/http-db/node_modules/levelup/lib/read-stream.js:94:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment