-1

I am getting the following error when i run 'npm install -g @angular/cli":

npm ERR! Unexpected end of JSON input while parsing near '...,"broccoli-uglify-js"'.

R. Richards
  • 24,603
  • 10
  • 64
  • 64
Kanya
  • 26
  • 6
  • https://stackoverflow.com/questions/47675478/npm-install-errorunexpected-end-of-json-input-while-parsing-near-nt-webpack – hrdkisback Jan 28 '20 at 10:36

1 Answers1

0

Clean npm cache,

npm cache clean --f

Then run install again,

npm i -g @angular/cli

MonkeyScript
  • 4,776
  • 1
  • 11
  • 28