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, 2015 at 8:54:54 AM UTC+5:30, Aria Stewart wrote:
>
>
> > On 10 Feb 2015, at 22:14, NodeNinja <[email protected] <javascript:>> 
> 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 possible to hack up the internals enough via config flags 
> on the command line, but if it breaks you get to keep both pieces. 
>
>
> Aria

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/9cf27380-016c-4d1c-a8a2-fad39abd9324%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to