inspiration

I found myself unable to use some npm packages while using the Node.js kernel in a Jupyter notebook. It is possible to install both Node.js and npm into a virtual env for use in a Jupyter notebook.

blockers

node not finding packages after a global install into the

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.

The changes breaks the ability of Jupyter to use nodejs kernel. Somehow have to point jupyter to the correct node.

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