You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When writing to a non-TTY, interrupt causes a crash #224
.../node_modules/progress/lib/node-progress.js:210
this.stream.clearLine();
^
TypeError: this.stream.clearLine is not a function
at ProgressBar.interrupt (.../node_modules/progress/lib/node-progress.js:210:15)
at file:///...
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.18.2
#144 fixed this for the terminate function but not the interrupt function.
Activity
fitzyracing1 commentedon Oct 7, 2026
This is fixed in @fitzyracing/[email protected]:
interrupt()now uses the same TTY guard upstream already added toterminate()in #144, so it no longer throwsclearLine is not a functionwhen output is piped or redirected to a file. Drop-in viaoverrides:"progress": "npm:@fitzyracing/progress@^2.0.4". Details: https://github.com/fitzyracing1/progress