is NODE_PATH
variable set on your environment
//show if set
echo $NODE_PATH
//set NODE_PATH
NODE_PATH="/usr/local/lib/node_modules"
The NODE_PATH
should contain the location of directories where the modules are installed. It can have multiple directories (colon seperated).