title: NPM- ERR Registry error parsing json
body: <p>when I run NPM install..I keep getting an error..it can't be from package.json ( i create a project using --- ng new projectname) I spent hours looking for a solution with no luck. also i went to "<a href="https://docs.npmjs.com/troubleshooting/common-errors" rel="nofollow noreferrer">https://docs.npmjs.com/troubleshooting/common-errors</a>"</p>
  
  <p><a href="https://i.stack.imgur.com/qwWSu.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qwWSu.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/MT673.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MT673.jpg" alt="enter image description here"></a></p>
  
  <p>I tried many thing such as</p>
  
  <ul>
  <li>npm config rm proxy</li>
  <li>npm config rm https-proxy</li>
  <li>rm -f package-lock.json &amp;&amp; npm install --- I get error 'RM' not
  recognized</li>
  <li>npm config get registry prints: <a href="https://registry.npmjs.org/" rel="nofollow noreferrer">https://registry.npmjs.org/</a></li>
  <li>npm config set strict-ssl false</li>
  </ul>
  
  <p>also when I run</p>
  
  <ul>
  <li>npm config get registry => i get <a href="http://registry.npmjs.org/" rel="nofollow noreferrer">http://registry.npmjs.org/</a></li>
  <li>npm config get http-proxy =>i get undefined</li>
  <li>npm config get https-proxy =>i get null</li>
  </ul>