Я недавно установил модуль Node.js и npm на OSX и у меня проблема с настройками, я думаю:
npm install [MODULE] is not installing the node.js module to the default path which is /usr/local/lib/node_modules.