arei / npmbox

Utility for creating (boxing) and using (unboxing) an archive of a complete (including all dependencies) npm install.
MIT License
245 stars 34 forks source link

ENOTFOUND when installing karma plugins #26

Closed YonatanKra closed 8 years ago

YonatanKra commented 9 years ago

I've decided to start a new installation of nodejs in order to avoid 3rd party conflicts that might have been in the old install. So I'm now using: Nodejs 0.12 64bit npm 2.5.1 npmbox 2.1.2 I've installed karma, karma-cli and jasmine itself. When I try to install karma-requirejs and karma-jasmine I get an error: ENOTFOUND. It seems like the installation is trying to reach npmjs.org and fails (which is expected on an offline computer :)). Any solution to this?

EDIT: Here's the install output with -v:

npmunbox -g -v karma-requirejs.npmbox

Unboxing karma-requirejs.npmbox
Unpacking karma-requirejs...
Installing karma-requirejs...
npm verb cache add spec karma-requirejs
npm verb addNamed karma-requirejs@*
npm verb addNameRange registry:https://registry.npmjs.org/karma-requirejs not in flight; fetching
npm verb get https://registry.npmjs.org/karma-requirejs not expired, no request
npm verb addNamed karma-requirejs@0.2.2
npm verb afterAdd PATH\node_modules\npmbox\.npmbox.cache\karma-requirejs\0.2.2\package\package.json not in flight; writing
npm verb afterAdd PATH\node_modules\npmbox\.npmbox.cache\karma-requirejs\0.2.2\package\package.json written
npm info install karma-requirejs@0.2.2 into C:\Program Files\nodejs
npm info installOne karma-requirejs@0.2.2
npm verb installOne of karma-requirejs to C:\Program Files\nodejs not in flight; installing
npm verb lock using PATH\node_modules\npmbox\.npmbox.cache\_locks\karma-requirejs-2d99a2e09f7cbe83.lock for C:\Program Files\nodejs\node_modules\karma-requirejs
npm verb unbuild node_modules\karma-requirejs
npm info preuninstall karma-requirejs@0.2.2
npm info uninstall karma-requirejs@0.2.2
npm verb unbuild rmStuff karma-requirejs@0.2.2 from C:\Program Files\nodejs\node_modules
npm info postuninstall karma-requirejs@0.2.2
npm verb gentlyRm vacuuming C:\Program Files\nodejs\node_modules\karma-requirejs
npm verb tar unpack PATH\node_modules\npmbox\.npmbox.cache\karma-requirejs\0.2.2\package.tgz
npm verb tar unpacking to C:\Program Files\nodejs\node_modules\karma-requirejs
npm verb gentlyRm vacuuming C:\Program Files\nodejs\node_modules\karma-requirejs
npm info preinstall karma-requirejs@0.2.2
npm verb about to build C:\Program Files\nodejs\node_modules\karma-requirejs
npm info build C:\Program Files\nodejs\node_modules\karma-requirejs
npm verb linkStuff [ true,
npm verb linkStuff   'C:\\Program Files\\nodejs\\node_modules',
npm verb linkStuff   true,
npm verb linkStuff   'C:\\Program Files\\nodejs\\node_modules' ]
npm info linkStuff karma-requirejs@0.2.2
npm verb linkBins karma-requirejs@0.2.2
npm verb linkMans karma-requirejs@0.2.2
npm verb rebuildBundles karma-requirejs@0.2.2
npm info install karma-requirejs@0.2.2
npm info postinstall karma-requirejs@0.2.2
npm WARN package.json npm@1.4.28 Non-dependency in bundleDependencies: inherits
npm verb already installed skipping karma@>=0.9 C:\Program Files\nodejs
npm verb cache add spec requirejs@~2.1
npm verb addNamed requirejs@>=2.1.0 <2.2.0
npm verb addNameRange registry:https://registry.npmjs.org/requirejs not in flight; fetching
npm verb request uri https://registry.npmjs.org/requirejs
npm verb request no auth needed
npm info attempt registry request try #1 at 18:19:12
npm verb request id 5eb45e7b365f4ade
npm http request GET https://registry.npmjs.org/requirejs
npm verb unlock done using PATH\node_modules\npmbox\.npmbox.cache\_locks\karma-requirejs-2d99a2e09f7cbe83.lock for C:\Program Files\nodejs\node_modules\karma-requirejs
  { [Error: getaddrinfo ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscall: 'getaddrinfo' }
arei commented 8 years ago

I believe this will be fixed with the forthcoming 3.0 release. Let me know if otherwise.