-
Notifications
You must be signed in to change notification settings - Fork 159
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
- OS: macOS
- Node Version: 24.5.0
- Package:
@clack/prompts - Package Version: `1.0.0-alpha.1
Describe the bug
progress.stop without progress.start has runtime error:
TypeError: $ is not a function
│ at Object.Z [as stop] (file:///Users/eric/Projects/testdriverai/monorepo/node_modules/.pnpm/@[email protected]/node_modules/@clack/prompts/dist/index.mjs:65:9)To Reproduce
Include a link to a minimal reproduction using node.new
https://stackblitz.com/edit/node-3qra3xfz?file=index.js
Expected behavior
Either throw because the progress bar hasn't started yet, or implicitly .start when .message is called.
A clear and concise description of what you expected to happen.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done