Re: [Pkg-javascript-devel] NPM: Cannot find module installed globally

2014-09-20 Thread Jérémy Lal
Le samedi 20 septembre 2014 à 19:44 +0200, Leo Iannacone a écrit : Hi, with npm 1.4.21+ds-2 I'm not able to require module installed globally... See this: $ sudo npm install -g coffee-script You might consider this a bug - i made this on purpose, so that modules installed by debian

Re: [Pkg-javascript-devel] NPM: Cannot find module installed globally

2014-09-20 Thread Andrew Kelley
On Sat, Sep 20, 2014 at 7:33 PM, Jérémy Lal kapo...@melix.org wrote: * npm actually discourages npm install -g in favor of cd thismodule; npm link cd thatmodule; npm link thismodule I think npm encourages using `npm install` which would put dependencies in a local folder called