title: NPM not working (Cannot find module 'internal/fs' - nodejs)
body: <p>NPM error on update. I recently update to Node version 7.x. Now npm is not working. <br/></p>
  
  <p>I am unable to locate the error, it may be due to - <br/>
  <code>npm ERR! Cannot find module 'internal/fs'</code>. <br/> <br/>
   I get the following when I run <code>sudo npm update -g</code> -</p>
  
  <pre><code>npm ERR! Linux 3.13.0-101-generic
  npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "update" "-g"
  npm ERR! node v7.1.0
  npm ERR! npm  v3.10.8
  npm ERR! code MODULE_NOT_FOUND
  
  npm ERR! Cannot find module 'internal/fs'
  npm ERR! 
  npm ERR! If you need help, you may report this error at:
  npm ERR!     &lt;https://github.com/npm/npm/issues&gt;
  </code></pre>
  
  <p>My <code>/etc/profile.d/nodejs.sh</code> has the following contents:</p>
  
  <pre><code>NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript
  export NODE_PATH
  </code></pre>