I\'m trying to install glue 0.3 for OXS Mountain Lion and ran into this error after installing homebrew (Error: Cowardly refusing to sudo brew install You can use b
sudo brew install
I have updated my macos to sierra and npm stopped working. Below are the steps followed to fix them.
npm
Uninstall Node and install it from brew and follow the below steps
sudo chmod g+w /usr/local/Cellar sudo chgrp staff /usr/local/Cellar sudo chown root /usr/local/bin/brew sudo brew postinstall node