Error "Cannot find module 'npmlog'" after "npm update -g"
<p>I have NVM 0.30.1 and used it to install node.js v5.4.0 (with NPM 3.5.4) on Fedora 22. When I run <code>npm update -g</code>, I receive the following warnings:</p>

<pre><code>npm WARN EBUNDLEOVERRIDE Replacing bundled npm &gt; init-package-json with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled npm &gt; node-gyp with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled npm &gt; npm-install-checks with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled npm &gt; npmlog with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled npm &gt; read-package-json with new installed version
</code></pre>

<p>And after that, when I run npm I get this error:</p>

<pre><code>module.js:328
    throw err;
    ^

Error: Cannot find module 'npmlog'
    at Function.Module._resolveFilename (module.js:326:15)
    at Function.Module._load (module.js:277:25)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at /home/peflorencio/.nvm/versions/node/v5.4.0/lib/node_modules/npm/bin/npm-cli.js:20:13
    at Object.&lt;anonymous&gt; (/home/peflorencio/.nvm/versions/node/v5.4.0/lib/node_modules/npm/bin/npm-cli.js:76:3)
    at Module._compile (module.js:398:26)
    at Object.Module._extensions..js (module.js:405:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
</code></pre>

<p>Does anyone know what it is and how to solve it?</p>

<p>Thanks</p>