set NODE_PATH

not sure how this hasn't been fixed yet, maybe nobody uses `npm install foobar -g`