When I try to do this:
brew install node
I get this message:
/usr/local/Homebrew/Library/Homebrew/utils/lock.sh: line 19:
Simply type the following into your terminal:
brew cleanup
This should clean up any issues. Follow the command with:
brew doctor
All done.