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 <[email protected] <javascript:>> 
> 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 
> > 
> > C:\>npm install --global --cache d:\nodejs\npm-cache --optional 
> --cache-min 99999 enclose 
> > npm http GET https://registry.npmjs.org/enclose 
> > npm http GET https://registry.npmjs.org/enclose 
> > npm http GET https://registry.npmjs.org/enclose 
> > npm ERR! Error: getaddrinfo ENOENT 
>
> npm doesn't operate offline, so it's always going to look for the 
> registry. 
> > 
> > npm ERR! node -v v0.8.12 
> > npm ERR! npm -v 1.1.63 
>
> In addition, this is ancient. npm 1.1 won't work with the current 
> registry, and node 0.8 is EOL. Consider upgrading to 0.12 or at least 0.10! 
>
> 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/92bd46b7-9727-4bcf-9f03-84f2e7f45a73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to