You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crashes terminal on OS X and refuses subsequent input after prompting more than once (Node 8 only) #13647
Version: 8.1.0
Platform: OS X, Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
There's an issue in Node 8 with apps that ask the user for input. The first input works fine, but afterwards, with subsequent input requests, the user can't type anything into the terminal window anymore, and even CTRL-C is not responding, forcing you to close the window.
At first I thought the issue might be with the package prompt that I was using, so I switched to inquirer and found it was affected as well. When I then tried to create an isolated test case, I found that the issue affects npm init as well.
The first input works ok, but then when asked for the version, you can't press ENTER anymore and the terminal refuses any subsequent input:
When switching back to Node 7.10.0 it works as expected again, so it definitely seems like a core Node issue.
Happy to provide further information if needed, but it is fairly easy to reproduce with npm init.
changed the title [-]Crashes terminal and refuses subsequent input after prompting more than once[/-][+]Crashes terminal on OS X and refuses subsequent input after prompting more than once (Node 8 only)[/+]on Jun 13, 2017
Activity
[-]Crashes terminal and refuses subsequent input after prompting more than once[/-][+]Crashes terminal on OS X and refuses subsequent input after prompting more than once (Node 8 only)[/+]mscdex commentedon Jun 13, 2017
This will be fixed in the upcoming v8.1.1 release. Specifically, it is already fixed by #13560.
Duplicate of #13557
adamreisnz commentedon Jun 13, 2017
@mscdex thank you, I tried to search for an existing issue but couldn't find one