NPM install angular cli

(Sudhir Pandey) #1

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


(Lars Willighagen) #2

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

(John Gee) #3

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

(Sudhir Pandey) #4

How can I set into local host