-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Multiple Questions on Windows 10 Hangs #767
Comments
@SBoudrias Removing |
Found porketta@91b4216 at nodejs/node#21771 |
Seems this have to be reverted. |
@mshima 7.0.1 is fine |
@Diablohu node 8? |
I tried on both node 10 and 12. Has the same problem |
Adding
fix the hang problem. But not the list and checkbox problem. Inquirer.js/packages/core/index.js Lines 42 to 46 in 0bc1b01
Inquirer.js/packages/core/hooks.js Lines 86 to 90 in 0bc1b01
|
I use inquirer@7.0.1 then it fixed. |
i met the same problem, here is my env
then i fixed the problem by revert the version with v7.* |
This Issue still exists for me. Using bun 1.1.3 on powershell Win 11 22H2. Tried via |
Hi @just-maik, this is a bug you should report to bun (not here.) |
I dug into this a bit because of microsoft/appcenter-sdk-react-native#471 (comment)
Inquirer uses
stdout
to write to the command prompt. It looks like if this line is run, it will cause windows to "hang".Also, it turns out that node 8.15.0 works with this code so it could also just be a regression
I think what is really going on is that the stream is just ending so we don't see any more output.
Here is a repro of the bug.
With this simple example removing
rl.output.end()
fixes things but the only way to work around it ininquirer
is to remove therl.close()
line.The text was updated successfully, but these errors were encountered: