npm does not muck with NODE_PATH or any other node environment vars. >> Plus: I have problems installing a module that (somehow) requires >> NODE_PATH during install. So I want to know who to blame ;-)
If you share the specifics of the problem (including, at least: what you did, what you expected, and what the result was), I'm sure we could track down the culprit. Specific NODE_PATH setting should not be required by any well-behaved node module. Something is probably Doing It Wrong, or just has some kind of bug that the author didn't notice (perhaps because their NODE_PATH is set some way that makes it work.) On Tue, Jun 19, 2012 at 7:55 AM, Ben Noordhuis <[email protected]> wrote: > 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 -- 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
