问题:
Cannot find module :'/usr/local/lib/node_modules/npm/bin/node_modules/npm/bin/npm-cli.js'
My guess is it has something to do with PATHs but I am not well learned in this area. Please ask if you need anymore info. Thanks.
Edit
So the path it is looking for the npm_cli module is pretty wacky
/usr/local/lib/node_modules/npm/bin/node_modules/npm/bin
The path that npm_cli.js is located at is:
/usr/local/lib/node_modules/npm/bin
So there's the issue but I still don't actually know how to fix it.
Edit 2
Here are the relevant entries in my .bash_profile
export PATH="/usr/local/lib/node_modules/npm/bin:/usr/local/heroku/bin:$PATH"
export NODE_PATH="/usr/local/lib/node"