local npm-packages work as predicted, but it seems impossible for me to get globally-installed packages running. It doesn't even throw any error, it's just not doing anything ( express, coffee, etc.. )
This was not bothering me much until I wanted to use coffee-script.
things I allready checked ( I'm on Xubuntu 12.04 ):
turns out it tried to start with
node instead of
nodejs command. So in
/usr/local/lib/node_modules/coffee-script/bin/coffee I changed
#!/usr/bin/env node to
#!/usr/bin/env nodejs and works fine now.