npm Installation Notes
Check and see if you are using npm 2.0~. You can do so by npm -v
. If you are using 3.0 or newer, you should run the following commands to install npm v2.~.
brew uninstall npm
brew install npm
npm install -g [email protected]
npm install mongoose -g