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
adamreisnz opened this issue
Jun 13, 2017
· 2 comments
Labels
duplicateIssues and PRs that are duplicates of other issues or PRs.macosIssues and PRs related to the macOS platform / OSX.readlineIssues and PRs related to the built-in readline module.
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.
The text was updated successfully, but these errors were encountered:
adamreisnz
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)
Jun 13, 2017
mscdex
added
readline
Issues and PRs related to the built-in readline module.
duplicate
Issues and PRs that are duplicates of other issues or PRs.
labels
Jun 13, 2017
duplicateIssues and PRs that are duplicates of other issues or PRs.macosIssues and PRs related to the macOS platform / OSX.readlineIssues and PRs related to the built-in readline module.
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 toinquirer
and found it was affected as well. When I then tried to create an isolated test case, I found that the issue affectsnpm 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
.The text was updated successfully, but these errors were encountered: