Nathan Stanford
Nathan Stanford

Reputation: 1394

Installing of Angular is not successful. No errors shown

If you look a the picture I made sure I had npm and node and then tried to install Angular CLI and it does not give me an error or anything. I am not sure what I have done. This laptop did crash a while back and I reloaded it not sure if that would contribute to this issue.

I even updated npm and node to the latest to see if that would fix the issue. I am on Windows 10 Home edition. The angular CLI seems to be working on my home desktop. How can I get this working again even if I uninstall something to get it working correctly.

Here are the steps I took

enter image description here

I thought it was NPM but somehow I have the loglevel set to silent.

Next Issue but with errors.

Upvotes: 0

Views: 205

Answers (4)

zgue
zgue

Reputation: 3850

Give an uninstall a try.

npm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/cli@latest

In the screenshot you posted, there is this line

npm ERR! npm -v 1.3.21

Maybe you should reinstall node also.

Upvotes: 1

Nathan Stanford
Nathan Stanford

Reputation: 1394

I finally uninstalled NODE completely and found the extra folders left over and reinstalled and that has fixed my issue. Nothing to do with Angular. Thanks for helping.

Upvotes: 0

Ritesh Ranjan
Ritesh Ranjan

Reputation: 1012

Try this:

npm install angular-cli

Upvotes: -1

Sajeetharan
Sajeetharan

Reputation: 222722

Try installing it globally,

npm install -g @angular/cli

Upvotes: 1

Related Questions