Reputation: 301
I have an issue that appears during the creation of a new App with the cmd:
ng new [MY_PROJECTNAME] --prefix [MY_Prefix]
What I did before:
Versions:
So the programm keeps hanging for quite a while (7min or so...) in the stage as shown in the Picture.
Does any one now how to fix that?
Problem in cmd while creating new App:
Upvotes: 1
Views: 466
Reputation: 301
Solution:
As Angular University already mentioned it was due to proxies wich i used during my work. At home it worked just fine.
npm can't download package correctly if a internet connection with proxies is used.
EDIT:
Sometimes the problem can be solved by restarting the computer and dooing npm chache clean
after that works on my Computer in something like 7 minutes. (Don't ask me why)
/EDIT
Hope it helps other Developers
Manuel
Upvotes: 2