title: which node points to usr/bin/node, cd usr/bin/node doesn't exist
body: <p>I'm sorry if this is a duplicate: I've read several similar questions but haven't found a solution that explains this. Since I'm quite new to Linux (Elementary OS running on Ubuntu 12.04) I wanted to have a specific answer so I won't accidentally do something really stupid.</p>
  
  <p>The last update on Node.js broke npm, and I don't know how to fix it. The easiest way for quick fixing seems to be just installing and reinstalling, so I learned how to do that. I'm using Chris Lea's ppa for Node.js.</p>
  
  <p>Ran into some problems though. When running
  <code>$ which node</code> I get the folder reference /usr/bin/node, so I then ran <code>$ cd /usr/bin/node</code>, and got the output: 
  <code>bash: cd: /usr/bin/node: No such file or directory</code>. So I have a reference to a non-existing folder, and I have no idea to uninstall before reinstalling.</p>
  
  <p>I'm able to run <code>node file.js</code> but neither <code>npm install package</code> or <code>sudo npm install package</code>. When running with sudo (I know that this is stupid - but I had to try 'cus I was so frustrated) nothing gets installed on the system, it just lists the files from the package.</p>
  
  <p>I pasted a bash script a while ago, which created and put my globals in my user folder, in a folder named <code>.npm-packages</code>. I'm so new to Linux though, I have no idea how to fix this. The shebangs from the bin folder in <code>.npm-packages</code> works globally.</p>
  
  <p>So lost - if you can help me I'm more than thankful. </p>
  
  <p>Thanks alot,
  Anton</p>