-
Notifications
You must be signed in to change notification settings - Fork 90
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
MaxListenersExceededWarning #40
Comments
It happens to me too, but after 10 differents prompts (confirms, select, inputs, etc) |
I found a temporal solution, I added this code in my
I hope that it helps you, while the bug is fixed |
I looked into this and think I found the culprit (at least the warning no longer shows up after generating 10+ prompts). |
I still have this issue. Is the best work around setting max emitters to 0? |
Environment
@clack/prompts
Describe the bug
To Reproduce
After using the
await select
a lot, the warning message above shows up.Expected behavior
Should not show up.
Additional Information
Let me know if you got questions. It's probably just even emitter listener cleanup.
The text was updated successfully, but these errors were encountered: