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 ERR! at errnoException (dns.js:31:11) npm ERR! at Object.onanswer [as oncomplete] (dns.js:123:16) npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <[email protected]> npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--global" "--cache" "d:\\nod ejs\\npm-cache" "--optional" "--cache-min" "99999" "enclose" npm ERR! cwd C:\ npm ERR! node -v v0.8.12 npm ERR! npm -v 1.1.63 npm ERR! syscall getaddrinfo npm ERR! code ENOTFOUND npm ERR! errno ENOTFOUND npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\npm-debug.log npm ERR! not ok code 0 and I'm getting a whole list of errors as above All the package folders and dependencies are in D:\nodejs\npm-cache and I have also done npm config set cache D:\nodejs\npm-cache but to no avail. -- 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/ea7c4639-835b-475b-ab5e-cc14c2cff08d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
