Problems with Node? It’s not uncommon.
So, have you got the latest version?
node -v v0.10.28 npm -v 0.01
OK, that’s not good. Even if you have newish versions though and you can’t get it working it’s often best just to start from scratch.
You made a change to your DNS. You wanna test it. Is it workin?
To clear the DNS, do this:
sudo killall -HUP mDNSResponder
then go to
chrome://net-internals/#dns and click the clear host cache button
Check the results with this: