I'm trying to install node-gyp. I run
sudo npm install -g node gyp
I get an error that says it requires node 0.8.0 and says that I'm running 0.6.12. The thing is, I'm not. I'm using NVM and I'm currently runnign 0.11.something. When I run node -v I get
v0.11.1
Why does NPM think I'm running node 0.6? I've set the default NVM to the latest.
The exact error is:
Unsupported
Not compatible with your version of node/npm: request@2.21.0
Required ["node >= 0.8.0"]
Actual {"npm":"1.1.4","node":"0.6.12"}
I'm running ubuntu.