When I run "tubectl get ps 5d038a6a8cb66f015c1479f3 -n krr --logs --trace -w" I get the follwing error. The use of --stream does work. The problem seems to be -w
internal/streams/legacy.js:59
throw er; // Unhandled stream error in pipe.
^
Error: Invalid JSON (Unexpected "h" at position 1 in state STOP)
at Parser.proto.charError (/Users/sandro.aebischer/node_modules/jsonparse/jsonparse.js:90:16)
at Parser.proto.write (/Users/sandro.aebischer/node_modules/jsonparse/jsonparse.js:267:27)
at Stream. (/Users/sandro.aebischer/node_modules/JSONStream/index.js:23:12)
at Stream.stream.write (/Users/sandro.aebischer/node_modules/through/index.js:26:11)
at Request.ondata (internal/streams/legacy.js:16:26)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at IncomingMessage. (/Users/sandro.aebischer/node_modules/request/request.js:1080:12)
at emitOne (events.js:116:13)
at IncomingMessage.emit (events.js:211:7)
at IncomingMessage.Readable.read (_stream_readable.js:475:10)
at flow (_streamreadable.js:846:34)
at resume (_stream_readable.js:828:3)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
Describe the bug
When I run "tubectl get ps 5d038a6a8cb66f015c1479f3 -n krr --logs --trace -w" I get the follwing error. The use of --stream does work. The problem seems to be -w
internal/streams/legacy.js:59 throw er; // Unhandled stream error in pipe. ^
Error: Invalid JSON (Unexpected "h" at position 1 in state STOP) at Parser.proto.charError (/Users/sandro.aebischer/node_modules/jsonparse/jsonparse.js:90:16) at Parser.proto.write (/Users/sandro.aebischer/node_modules/jsonparse/jsonparse.js:267:27) at Stream. (/Users/sandro.aebischer/node_modules/JSONStream/index.js:23:12)
at Stream.stream.write (/Users/sandro.aebischer/node_modules/through/index.js:26:11)
at Request.ondata (internal/streams/legacy.js:16:26)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at IncomingMessage. (/Users/sandro.aebischer/node_modules/request/request.js:1080:12)
at emitOne (events.js:116:13)
at IncomingMessage.emit (events.js:211:7)
at IncomingMessage.Readable.read (_stream_readable.js:475:10)
at flow (_streamreadable.js:846:34)
at resume (_stream_readable.js:828:3)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)