title: npm ERR! Unexpected end of JSON input while parsing near
body: <p>when creating a new angular project after running npm install -g @angular/cli I am getting the following error</p>
  <blockquote>
  <p>npm ERR! Unexpected end of JSON input while parsing near
  '...:&quot;^2.1.0&quot;,&quot;ntypescrip'</p>
  <p>npm ERR! A complete log of this run can be found in: npm ERR!<br />
  C:\Users\Suraj\AppData\Roaming\npm-cache_logs\2019-06-28T06_04_16_049Z-debug.log
  Package install failed, see above.</p>
  </blockquote>