I just noticed some issues I was getting recent versions of node and I realized that a number of things on my system required updating.
Updating NVM
cd ~/.nvm
git fetch
# See latest tags, and pick a tag
git checkout v0.25.4
Then open up a new shell, and you have the latest
Updating node versions
After that, I had update node
# Install 0.12
nvm install 0.12
# Set default to 0.12
nvm alias default 0.12
Project .nvmrc
After you do that, you can have a .nvmrc
in your project. This file contains one line, like this:
0.12.7
And then you’re locking your project to node version 0.12.7.