title: error not a package C:\Program Files\nodejs\npm
body: <p>I am new to node and npm and have been tryng to update npm from version 1.4.3 o the latest one. The procedure I am following to do this is</p>
  <blockquote>
  <p>navigate to C:\Program Files (x86)\nodejs with cmd.exe and then run
  the installation without -g: npm install npm (from <a href="https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows" rel="noreferrer">npm github</a>)</p>
  </blockquote>
  <p>The problem is that when I run</p>
  <blockquote>
  <p>npm install npm</p>
  </blockquote>
  <p>I get</p>
  <blockquote>
  <p>npm ERR! not a package C:\Program Files\nodejs\npm</p>
  <p>npm ERR! addLocal Could not install C:\Program Files\nodejs\npm</p>
  <p>npm ERR! Windows_NT 6.2.9200</p>
  <p>npm ERR! argv &quot;C:\Program Files\nodejs\\node.exe&quot; &quot;C:\Program
  Files\nodejs\node_modules\npm\bin\npm-cli.js&quot; &quot;install&quot; &quot;npm&quot;</p>
  <p>npm ERR! node v0.10.30</p>
  <p>npm ERR! npm  v2.2.0</p>
  <p>npm ERR! path
  C:\Users\ADMINI~1.PLA\AppData\Local\Temp\3\npm-9796-44646cae\unpack-c30e5ffdacdb\package.json</p>
  <p>npm ERR! code ENOENT</p>
  <p>npm ERR! errno 34</p>
  <p>npm ERR! enoent ENOENT, open
  'C:\Users\ADMINI~1.PLA\AppData\Local\Temp\3\npm-9796-44646cae\unpack-c30e5ffdacdb\package.json'</p>
  <p>npm ERR! enoent This is most likely not a problem with npm itself</p>
  <p>npm ERR! enoent and is related to npm not being able to find a file.</p>
  <p>npm ERR! enoent</p>
  <p>npm ERR! Please include the following file with any support request:</p>
  </blockquote>
  <p>But after this when I run</p>
  <blockquote>
  <p>npm --version</p>
  </blockquote>
  <p>it shows me</p>
  <blockquote>
  <p>N:\Program Files\nodejs&gt;npm -v</p>
  <p>2.2.0</p>
  </blockquote>
  <p>but from some other folder it still shows me</p>
  <blockquote>
  <p>N:\Program Files&gt;npm -v</p>
  <p>1.4.3</p>
  </blockquote>
  <p>So, how can I fix this.</p>