Description
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
.