khush
khush

Reputation: 2801

Angular CLI installation on Windows 8.1

Installed Versions :

I tried

npm install -g -f angular-cli npm install -g @angular/cli

This didn't work. So, I tried

npm uninstall @angular/cli
npm cache verify
npm install -g @angular/cli

But again installation stops at some line shown in image

enter image description here

Upvotes: 0

Views: 3393

Answers (3)

Omkar Jadhav
Omkar Jadhav

Reputation: 681

Run NodeJs command prompt with Administrative access (run as admin) and install the AngularCli by hitting the command -

npm install -g @angular/cli

Upvotes: 3

David
David

Reputation: 34435

It could be because you are behind a corporate firewall.

In this case, you need to set the npm proxy settings

npm config set proxy http://proxy.com:port
npm config set https-proxy http://proxy.com:port

Upvotes: 0

Sajeetharan
Sajeetharan

Reputation: 222582

Run command prompt as administrator and try the command

npm install -g -f angular-cli 

Upvotes: 0

Related Questions