Re: [nodejs] install a package on an offline pc with npm

2015-02-10 Thread Aria Stewart
> On 10 Feb 2015, at 22:41, NodeNinja wrote: > > I have seen cases on the internet where they download the tarball of the > package on the internet pc and then transfer it to the offline pc and run npm > on the tarball and many people have had success with it but when I try to do > it npm tri

Re: [nodejs] install a package on an offline pc with npm

2015-02-10 Thread NodeNinja
I have seen cases on the internet where they download the tarball of the package on the internet pc and then transfer it to the offline pc and run npm on the tarball and many people have had success with it but when I try to do it npm tries to connect to the internet. On Wednesday, February 11

Re: [nodejs] install a package on an offline pc with npm

2015-02-10 Thread Aria Stewart
> On 10 Feb 2015, at 22:14, NodeNinja wrote: > > After I upgrade to node version 0.10 will npm work offline. Sadly not. It is not (yet) designed to have that option. > I found a few posts on the internet where npm used the offline cache and > didn't connect to the registry. YMMV! Might be po

Re: [nodejs] install a package on an offline pc with npm

2015-02-10 Thread NodeNinja
After I upgrade to node version 0.10 will npm work offline. I found a few posts on the internet where npm used the offline cache and didn't connect to the registry. On Wednesday, February 11, 2015 at 1:12:48 AM UTC+5:30, Aria Stewart wrote: > > > > On Feb 10, 2015, at 12:50 PM, NodeNinja > > wro

Re: [nodejs] install a package on an offline pc with npm

2015-02-10 Thread Aria Stewart
> On Feb 10, 2015, at 12:50 PM, NodeNinja wrote: > > I am trying to install a nodejs package on a offline pc (no internet > connection) but I'm having trouble doing so > > I have the package folder and its dependencies I need to install on the > offline pc > > so on the offline pc i do > >

[nodejs] install a package on an offline pc with npm

2015-02-10 Thread NodeNinja
I am trying to install a nodejs package on a offline pc (no internet connection) but I'm having trouble doing so I have the package folder and its dependencies I need to install on the offline pc so on the offline pc i do C:\>npm install --global --cache d:\nodejs\npm-cache --optional --cache