title: Can't install puppeteer package on node
body: <p>I am facing problem while installing puppeteer package.</p>
  
  <p><a href="https://i.stack.imgur.com/pxIii.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pxIii.png" alt="Error Screenshot"></a></p>
  
  <p>My NPM version : <code>6.9.0</code></p>
  
  <p>Node version : <code>v10.16.0</code></p>
  
  <p>Tried with :</p>
  
  <pre><code>sudo chown -R $(whoami) ~/.npm
  sudo chown -R $(whoami) /usr/local/lib
  sudo chown -R $(whoami) /usr/local/bin
  </code></pre>
  
  <p>But it was no help.</p>
  
  <p>I found the similar question over stackoverflow and went with this 
  <a href="https://stackoverflow.com/questions/34959038/npm-stuck-giving-the-same-error-eisdir-illegal-operation-on-a-directory-read-a/42677294#42677294">answer</a>. But still couldn't figure out how to resolve mine.</p>