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/enclosenpm http GET
https://registry.npmjs.org/enclosenpm http GET
https://registry.npmjs.org/enclosenpm 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! <
np...@googlegroups.com>
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.