angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Process freezes multiple times until the user presses enter

Open timothy opened this issue 9 years ago • 10 comments

Please provide us with the following information:

OS?

Windows 10

Versions.

angular-cli: 1.0.0-beta.22-1 node: 6.8.1 os: win32 x64

Repro steps.

npm install -g angular-cli ng new my-app ng serve

The log given by the failure.

N/A

Mention any other details that might be useful.

During ng serve the process freezes multiple times until the user presses enter. The ng serve eventually will complete and start serving successfully but not without the user babysitting it.

Not sure if this helps but I am using a Dell Precision | M 4700 -- so relatively old hardware...


Thanks! We'll be in touch soon.

timothy avatar Dec 06 '16 14:12 timothy

There's nothing that should/could be waiting for Enter.

Just a theory; I notice you're on Windows. Windows has the unfortunate bad UX that if you select something using the mouse in the command prompt, it will pause the current running process. Pressing Enter would unselect it so the process would resume. Could that be what's happening? Try to avoid using the mouse after running ng serve, see if that helps.

hansl avatar Dec 06 '16 18:12 hansl

I was stuck at ng serve and nothing run event press Enter after I upgrade to 1.0.0-beta.22-1. Before that a few minutes, version 1.0.0-beta.21 is ok

t2d-ev avatar Dec 07 '16 08:12 t2d-ev

I tried it a few more times making sure not to select anything and found that it still happens but not consistently... It may be my environment. I will post back if I find the root cause.

timothy avatar Dec 08 '16 12:12 timothy

I downgraded to version 1.0.0-beta.21 and it's working

t2d-ev avatar Dec 08 '16 16:12 t2d-ev

ng test just hangs on me - no output, cant ctrl-c to quit out of it, need to kill the angular-cli process

e-schultz avatar Dec 08 '16 17:12 e-schultz

I'm running windows 10 and am having the same issue as @timothy . Often times I have to switch to my console window and hit enter as it just gets stuck sometimes. When I hit enter it just resumes.

noelklein avatar Dec 15 '16 18:12 noelklein

Same issue just occurred Windows 7 -- beta.32.3 --- was just froze at 92 forever and i just hit enter and poof finished .... probably something weird with command prompt as npm install does this same behavior.

panicst8 avatar Mar 01 '17 16:03 panicst8

I upgraded and now this problem is no longer happening on my system. I am going to close the issue.

timothy avatar Mar 17 '17 12:03 timothy

Using ng build -w this happens after a while on Win10 very irritating

zoharyosef avatar May 02 '18 07:05 zoharyosef

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.