Hmmm.. If I do *sudo npm install -g request* it goes in */usr/lib/node_modules*, but* $NODE_PATH* points to* /usr/local/lib/node_modules*
Is there a way for a user to do npm installs that go to a global place so that don't have to appear everyplace the install is run? --Mark On Wednesday, October 17, 2018 at 11:09:01 AM UTC-4, RobertCNelson wrote: > > On Wed, Oct 17, 2018 at 10:00 AM Mark A. Yoder <[email protected] > <javascript:>> wrote: > > > > npm install -g appears to install in /usr/lib/node_modules, but > $NODE_PATH is set to /usr/local/lib/node_modules. > > > > Should the two be pointing to the same place? If so, which is the > correct place? > > As a normal user, "/usr/local/lib/node_modules" and anything we > package with our custom nodejs (v6.14.x) we also stick in > "/usr/local/lib/node_modules".. > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/327806eb-681b-4b70-8443-c5737f727c10%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
