-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Inquirer.js doesn't work with Bun #4787
Comments
For the record, it seems that @inquirer/prompts@3.1.1 fixes the aforementioned unrelated issue. |
Also, some notes:
I can reproduce the issue described above with in a separate project with only It seems that both |
Fixed by @paperdave in #6095 |
What version of Bun is running?
1.0.0
What platform is your computer?
Darwin 22.6.0 arm64 arm
What steps can reproduce the bug?
Install
@inquirer/prompts@3.0.4
as a dependency, and run the following snippet:What is the expected behavior?
It should prompt the user to input some text and read a line from stdin. It works as expected on both Node and Deno.
What do you see instead?
It throws the following error:
Additional information
At this moment, the latest version of inquirer (
v3.1.0
) has an unrelated issue, but after manually patching the file, the same error gets thrown. That's why the example uses an older (v3.0.4
) version of the packageThe text was updated successfully, but these errors were encountered: