-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Process gets stuck on Windows (v4) #132
Comments
Can you make sure you're using version 4.0.2? |
@sindresorhus 100% sure I am using 4.0.2 version (double-checked the ora version in my |
// @stroncium |
So, I further tested. And here are some interesting cases: When the script is run via When the script is run via |
I'm also experiencing this issue after upgrading from |
Probably related: #134 |
Thanks @ngocdaothanh, nice one ! I will test that too for my cases. |
Ok, so my current understanding is: |
Guys, I have similar issue with a user using windows, he can close the app without issues but the problem is that the spinner doesnt show, and also appear be blocking "Enquirer" to run the prompts. When I start the spinner I do some async work at the background, and just after I launch Enquirer prompts, but the spinner nor enquirer questions were not showing in Windows. I changed the version of ora to 3.0.4 and all work fine. |
FYI, I have the same problem with |
It gets stuck when this line is executed: Line 222 in 974630f
|
Here is a simple example to reproduce the issue:
I have a feeling this is not the process in fact that is stuck since there is no Node instance running in the tasks manager once it's done, but the CLI doesn't "finish" (the spinner succeed but the cursor blinks forever) or respond to any
CTRL+C
. So my title is surely somehow wrong.It does work if we add the option
discardStdin: false
which is how it was in v3.The text was updated successfully, but these errors were encountered: