Jinesh
Jinesh

Reputation: 21

Issue while installing angular cli on stable node version

Facing an issue while Installing Angular CLI.

Tried all the possible workaround like clearing cache, uninstalling, and reinstalling Node. Manually clearing folder of npm-cache in Appdata.

The attached screenshot is the error I am facing when I hit npm install -g @angular/cli --verbose

Version I am using

Error Facing npm ERR! Unexpected end of JSON input while parsing near '...wzttNqx4uELH8YM5zUFTi'

enter image description here

Upvotes: 0

Views: 97

Answers (1)

aditya_adi_98
aditya_adi_98

Reputation: 24

First connect to a very good internet connection like wifi or something

clear the npm cache & then try installing angular again.

Upvotes: 0

Related Questions