npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

NPM install angular cli

I am tring to install angular cli for angular 7. I have execute following command

$ npm install -g @angular/cli

It will stuck in middle and in commond promt its showing


The bug template isn’t optional for posts in the #bugs category; I moved it to #support for you.

You will get (much!) more output with --verbose and it may point to the problem:

npm install -g --verbose @angular/cli

Issues with stalling are often network or proxy issues. Are you behind a proxy? There is a troubleshooting guide here: Common proxy and networking problems

How can I set into local host