title: npm command - Error: EISDIR: illegal operation on a directory, read
body: <p>While issuing the <code>npm</code> command I'm receciving an error stating,</p>
  
  <pre><code>Error: EISDIR: illegal operation on a directory, read
  TypeError: Cannot read property 'get' of undefined
  </code></pre>
  
  <p><strong>SO Posts which I have gone through in this regard (which didn't resolve my issue):</strong></p>
  
  <p><a href="https://stackoverflow.com/questions/20417118/using-node-js-i-get-error-eisdir-read">Using Node.js I get, &quot;Error: EISDIR, read&quot;</a></p>
  
  <p><a href="https://stackoverflow.com/questions/25883775/node-js-readfilesync-function">Node.JS readFileSync() function</a></p>
  
  <p>I have also tried editing the <code>.npmrc</code> file to remove the <code>ca</code> entry and even after that the issue still persists. </p>
  
  <p>Can someone help?</p>