Re: [nodejs] npm link and global-ness

2013-03-25 Thread Martin Cooper
On Sun, Mar 24, 2013 at 4:21 PM, Phil Jackson wrote: > Hey all, > > I'm wondering why `npm link` installs modules in the global node path? > When you `npm link`, it effectively creates a global install that can be accessed from any other project. You then create a local reference to that when yo

[nodejs] npm link and global-ness

2013-03-24 Thread Phil Jackson
Hey all, I'm wondering why `npm link` installs modules in the global node path? Before I bothered reading the man page I was doing this: $ npm link ../base in a project that depends on base. I was just expecting a symlink to the base package in ./node_modules but instead I get a link to a li