rollup-plugin-progress icon indicating copy to clipboard operation
rollup-plugin-progress copied to clipboard

Fails when it's piped without a destination

Open binarykitchen opened this issue 8 years ago • 0 comments

When I just pipe rollup with i.E. tape-run without defining a dest at all, like that

$ rollup -c env/test/rollup.config.js | tape-run

then this progress plugin throws this error:

internal/streams/legacy.js:59
      throw er; // Unhandled stream error in pipe.
      ^

Error: javascript required
    at Stream.<anonymous> (/home/michael-heuberger/code/videomail-client/node_modules/browser-run/index.js:35:34)
    at _end (/home/michael-heuberger/code/videomail-client/node_modules/through/index.js:65:9)
    at Stream.stream.end (/home/michael-heuberger/code/videomail-client/node_modules/through/index.js:74:5)
    at Stream.method [as end] (/home/michael-heuberger/code/videomail-client/node_modules/duplexer/index.js:47:39)
    at Stream.<anonymous> (/home/michael-heuberger/code/videomail-client/node_modules/throughout/index.js:7:25)
    at _end (/home/michael-heuberger/code/videomail-client/node_modules/through/index.js:65:9)
    at Stream.stream.end (/home/michael-heuberger/code/videomail-client/node_modules/through/index.js:74:5)
    at Stream.onend (internal/streams/legacy.js:44:10)
    at emitNone (events.js:91:20)
    at Stream.emit (events.js:188:7)
error Command failed with exit code 1.

Would be good if it's chainable through streams.

binarykitchen avatar Jun 01 '17 08:06 binarykitchen