On Thu, Sep 29, 2016 at 12:34:48PM +0300, Tomer Brisker wrote:
> Hi,
> 
> This command upgrades the currently installed version of npm on your system.
> 
> If you wish to use a different version from the rest of your system, you
> have two options:
> 1. you can look into NVM (which is similar to RVM)
> 2. install locally using 'npm install npm' inside the foreman directory,
> after which you will need to run './node_module/.bin/npm install' to use
> the local version (this is what we do on jenkins)

You could also add $WORKDIR/node_modules/.bin to your $PATH and it
should work. As someone who'd never use npm install -g, this is my
preferred solution. The benefit is that you also get tools like webpack
in your $PATH.

> Tomer
> 
> 
> On Thu, Sep 29, 2016 at 12:18 PM, Lukas Zapletal <[email protected]> wrote:
> 
> > > TL;DR: run "sudo npm install npm -g" on you development machines
> >
> > Were does it install in? I definitely don't want to install anything
> > like that on my machine.
> >
> > --
> > Later,
> >  Lukas #lzap Zapletal
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "foreman-dev" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > For more options, visit https://groups.google.com/d/optout.
> >
> 
> 
> 
> -- 
> Have a nice day,
> Tomer Brisker
> Red Hat Engineering
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to