Skip to main content
Flox Blog Beginner's Guide for Web Developers. 60% Off in Website Design & Development click here.

npm ERR! Unexpected end of JSON input while parsing near ‘…10.0″,”grunt-contrib-‘

npm ERR! Unexpected end of JSON input while parsing near '...10.0","grunt-contrib-'

C:\Users\Flox Enterprises>npm install -g @angular/cli
npm ERR! Unexpected end of JSON input while parsing near ‘…10.0″,”grunt-contrib-‘

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Flox Enterprises\AppData\Roaming\npm-cache\_logs\2019-04-20T09_07_52_276Z-debug.log

First clear the cache file

npm cache clean --force

Then run this command to install latest file

npm install -g @angular/[email protected]

 

Leave a Reply

avatar
  Subscribe  
Notify of
F