I get this error when I call .push at the bottom there:
TypeError: Invalid non-string/buffer chunk
at validChunk (_stream_writable.js:254:10)
at Writable.write (_stream_writable.js:288:21)
at Stream.ondata (internal/streams/legacy.js:16:26)
at emitOne (events.js:115:13)
at Stream.emit (events.js:210:7)
at drain (/Users/chet/Code/notion-next/node_modules/through/index.js:36:16)
at Stream.stream.queue.stream.push (/Users/chet/Code/notion-next/node_modules/through/index.js:45:5)
at repl:1:11
at ContextifyScript.Script.runInThisContext (vm.js:50:33)
at REPLServer.defaultEval (repl.js:240:29)
I'm simply trying to log the output of the JSONStream from the Node REPL:
I get this error when I call
.push
at the bottom there: