Powered by OSX 10.7 (Lion). I tried to include as many details as possible. I (stupid?) Decided to upgrade to the latest NODE and NPM. I git -ed and twisted like a good boy, and ended up with this:
>node -v
v0.5.9
>npm -v
1.0.99
added export NODE_PATH=/usr/local/lib/node_modules:/usr/local/lib/nodewhich gives:
>echo $NODE_PATH
/usr/local/lib/node_modules:/usr/local/lib/node
But each requireof me in all my scenarios cannot find any of my modules. It either looks in the local library, or simply refuses the message "Error: cannot find the module."
I tried the NODE_PATH options: with / without node_modules, with specific directories - nada.
Is any NPM configuration missing? Am I using it incorrectly? All scripts worked before the update.
Thanks for any help.