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

Andrew Kelley superjoe30 at gmail.com
Sat Sep 20 22:49:22 UTC 2014


On Sat, Sep 20, 2014 at 7:33 PM, Jérémy Lal <kapouer at 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 "node_modules" and would generally discourage use of
`npm link`, unless you are developing a module and using npm link to test
it while you develop it. Even then, most people do not use npm link.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20140920/e91496c9/attachment.html>


More information about the Pkg-javascript-devel mailing list