Closed wnvko closed 3 years ago
Reproducible w/
node -v
: v12.16.1
npm -v
: 6.13.4
Not so much hangs, but doesn't read the first input correctly I think.
Seems to do with our Step by Step and Inquirer - if I trigger the login process through a command that doesn't prompt (e.g. ig build/start
) the login works as expected, but if I trigger it though ig add
and just straight to run it will repro this issue.
So something to do with the state of the process.stdin
stream after prompt is done.
This is also reproducible w/ jQuery project & igniteui-cli@~3.0.0
w/ the stated node & npm versions:
node -v
: v12.16.1
npm -v
: 6.13.4
Description
I am creating a new project either with
ig
command or withng new --collection="@igniteui/angular-schematics"
. When I am asked should I upgrade to licensed feed I answer yes. Then it asks me for my user name. After I enter my user name the process hangs forever.Steps to reproduce
ig
orng + schematics
.Would you like to upgrade to the licensed feed now?
chooseyes
.Result
After user name is added nothing happens. The console just hangs forever.
Expected result
I should be asked for my password and licensed packages should be installed
Note
After entering your user name if you click
enter
it again ask you for user name and process finishes correctly.