Solution on StackOverflow: http://stackoverflow.com/a/14515868
Have to set $NODE_PATH
to the virtualenv's node_module
path.
export NODE_PATH=$VIRTUAL_ENV/lib/node_modules
Could put this in one of the virtualenvwrapper hooks.
Tried npm -g install ijs
was compiled against a different Node.js version using NODE_MODULE_VERSION 48. This version of Node.js requires NODE_MODULE_VERSION 51. Please try re-compiling or re-installing