Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When writing to a non-TTY, interrupt causes a crash #224

Open
tremby opened this issue Oct 24, 2023 · 0 comments
Open

When writing to a non-TTY, interrupt causes a crash #224

tremby opened this issue Oct 24, 2023 · 0 comments

Comments

@tremby
Copy link

tremby commented Oct 24, 2023

.../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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant