title: npm ERR! Cannot find module './access-error.js'
body: <p>Anything I try to do with NPM, I end up with <code>npm ERR! Cannot find module './access-error.js'</code>. Help!</p>
  
  <p>I first noticed it when trying to install <a href="https://www.npmjs.com/package/vue-chartjs" rel="nofollow noreferrer">vue-chartjs</a>. I ran <code>npm install vue-chartjs chart.js --save</code> like the docs said to do and got the error:</p>
  
  <pre><code>code/premium-poker-tools [master●] » npm install vue-chartjs chart.js --save
  npm ERR! code MODULE_NOT_FOUND
  npm ERR! Cannot find module './access-error.js'
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /Users/adamzerner/.npm/_logs/2019-03-12T23_56_46_114Z-debug.log
  </code></pre>
  
  <p>Then I tried installing <code>chart.js</code> and <code>vue-chartjs</code> individually, but it gives me the same error.</p>
  
  <p>Then I googled the issue. I <a href="https://stackoverflow.com/a/30436256/1927876">tried</a>:</p>
  
  <pre><code>rm -rf node_modules
  npm install
  </code></pre>
  
  <p>and it didn't work.</p>
  
  <p>I tried reinstalling NPM and it didn't work. I tried <a href="https://docs.npmjs.com/misc/removing-npm.html" rel="nofollow noreferrer">removing</a> NPM via <code>sudo npm uninstall npm -g</code> and then planning on reinstalling it after, and it didn't work. Everything I do gives me the <code>npm ERR! Cannot find module './access-error.js'</code> error.</p>