On Tue, Jun 19, 2012 at 4:34 PM, Oliver Leics <[email protected]> wrote: > On Tue, Jun 19, 2012 at 4:12 PM, Ben Noordhuis <[email protected]> wrote: >> On Tue, Jun 19, 2012 at 2:52 PM, Oliver Leics <[email protected]> wrote: >>> is NODE_PATH deprecated? >> >> No. Why do you ask? > > nvm does not set it, but: > -> ``npm install -g <pkg>`` just works > -> ``npm link <pkg>`` inside a 'local' package just works > -> ``<bin-script-of-pkg>`` just works > > I am not sure why NODE_PATH is still around, as the above 'just works'. > > Plus: I have problems installing a module that (somehow) requires > NODE_PATH during install. So I want to know who to blame ;-)
NODE_PATH is for when you want to load libraries that live outside of npm (which should, hopefully, be quite rare.) I'm not sure if npm mucks with NODE_PATH. Probably not, but Isaac will know. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
