joyent/node — Issue #1964: Windows 7 x64 version 0.5.10 of node.exe npm hangs
Author: Toratheus
Created: 2011-10-29 00:01:11+00:00
State: open

I am a developer and I have two system I've been trying to get npm to work on and both are failing. One that is a company laptop and the other that is personal desktop, both are windows 7 machine with the 64 bit install. I've been trying to use the node.exe 0.5.10 from the node dist site.

the npm install installation instructions are successful.

Whoever when I try run "npm install", it just hangs. This would appear to be an npm bug however, if I go back to 0.4.12 and use cygwin to install of node the behavior is the same until I create /etc/resolv.conf and put the in appropriate nameservers...

nameserver 8.8.8.8
nameserver 8.8.4.4

I'm not behind a proxy

I've tried changing the registery via:

npm config set registry http://registry.npmjs.org/

with not luck.

Node does appear able to see the server (I'm also able to ping it)...

C:\apps\node\bin>node -e "require('dns').lookup('registry.npmjs.org', 4, console
.log)"
null '184.72.142.196' 4

This is the installed dependencies:

C:\apps\node\bin>npm ls -s
C:\apps\node\bin
└─┬ npm@1.0.103
├── abbrev@1.0.3
├── graceful-fs@1.0.1
├── ini@1.0.1
├─┬ minimatch@0.0.4
│ └── lru-cache@1.0.4
├── node-uuid@1.2.0
├── nopt@1.0.10
├── proto-list@1.0.0
├── request@2.1.1
├── rimraf@1.0.8
├── semver@1.0.10
├── slide@1.1.3
└── which@1.0.2

This is the config list:

C:\apps\node\bin>npm config list
; cli configs

; userconfig C:\Users\Seth.npmrc
config = "registry"
registry = "http://registry.npmjs.org/"

; node install prefix = undefined
; node bin location = C:\apps\node\bin\node.exe
; cwd = C:\apps\node\bin
; HOME = C:\Users\Seth
; 'npm config ls -l' to show all defaults.

And here is the entire log output:

npm info it worked if it ends with ok
npm verb cli [ 'C:\apps\node\bin\\node.exe',
npm verb cli 'C:\apps\node\bin\node_modules\npm\bin\npm-cli.js',
npm verb cli 'install',
npm verb cli 'webservice',
npm verb cli '--loglevel',
npm verb cli 'silly' ]
npm info using npm@1.0.103
npm info using node@v0.5.10
npm verb config file C:\Users\Seth.npmrc
npm verb config file C:\apps\node\etc\npmrc
npm verb config file C:\apps\node\bin\node_modules\npm\npmrc
npm sill testEngine { name: 'npm',
npm sill testEngine description: 'A package manager for node',
npm sill testEngine keywords:
npm sill testEngine [ 'package manager',
npm sill testEngine 'modules',
npm sill testEngine 'install',
npm sill testEngine 'package.json' ],
npm sill testEngine version: '1.0.103',
npm sill testEngine preferGlobal: true,
npm sill testEngine config: { publishtest: false },
npm sill testEngine homepage: 'http://npmjs.org/',
npm sill testEngine author: 'Isaac Z. Schlueter i@izs.me (http://blog.izs.me
)',
npm sill testEngine repository:
npm sill testEngine { type: 'git',
npm sill testEngine url: 'git://github.com/isaacs/npm.git' },
npm sill testEngine bugs:
npm sill testEngine { email: 'npm-@googlegroups.com',
npm sill testEngine url: 'http://github.com/isaacs/npm/issues' },
npm sill testEngine directories:
npm sill testEngine { doc: './doc',
npm sill testEngine man: './man',
npm sill testEngine lib: './lib',
npm sill testEngine bin: './bin' },
npm sill testEngine main: './lib/npm.js',
npm sill testEngine bin:
npm sill testEngine { npm: './bin/npm-cli.js',
npm sill testEngine npm_g: './bin/npm-cli.js',
npm sill testEngine 'npm-g': './bin/npm-cli.js' },
npm sill testEngine dependencies:
npm sill testEngine { semver: '1',
npm sill testEngine ini: '1',
npm sill testEngine slide: '1',
npm sill testEngine abbrev: '1',
npm sill testEngine 'graceful-fs': '1',
npm sill testEngine minimatch: '0',
npm sill testEngine nopt: '1',
npm sill testEngine 'node-uuid': '1.2',
npm sill testEngine 'proto-list': '1',
npm sill testEngine rimraf: '1',
npm sill testEngine request: '~2.1.1',
npm sill testEngine which: '1' },
npm sill testEngine bundleDependencies:
npm sill testEngine [ 'slide',
npm sill testEngine 'ini',
npm sill testEngine 'semver',
npm sill testEngine 'abbrev',
npm sill testEngine 'graceful-fs',
npm sill testEngine 'minimatch',
npm sill testEngine 'nopt',
npm sill testEngine 'node-uuid',
npm sill testEngine 'rimraf',
npm sill testEngine 'request',
npm sill testEngine 'proto-list',
npm sill testEngine 'which' ],
npm sill testEngine devDependencies: { ronn: 'https://github.com/isaacs/ronnjs
/tarball/master' },
npm sill testEngine engines: { node: '0.4 || 0.5', npm: '1' },
npm sill testEngine scripts:
npm sill testEngine { test: './test/run',
npm sill testEngine prepublish: 'make -j4 doc',
npm sill testEngine dumpconf: 'env | grep npm | sort | uniq' },
npm sill testEngine licenses:
npm sill testEngine [ { type: 'MIT +no-false-attribs',
npm sill testEngine url: 'http://github.com/isaacs/npm/raw/master/LICENSE
' } ],
npm sill testEngine _id: 'npm@1.0.103',
npm sill testEngine contributors:
npm sill testEngine [ 'Isaac Z. Schlueter i@izs.me (http://blog.izs.me/)',
npm sill testEngine 'Steve Steiner ssteinerX@gmail.com (http://websauceso
ftware.com/blog/)',
npm sill testEngine 'Mikeal Rogers mikeal.rogers@gmail.com (http://www.mi
kealrogers.com/)',
npm sill testEngine 'Aaron Blohowiak aaron.blohowiak@gmail.com (http://aa
ronblohowiak.com/)',
npm sill testEngine 'Martyn Smith martyn@dollyfish.net.nz (http://dollyfi
sh.net.nz/)',
npm sill testEngine 'Mathias Pettersson mape@mape.me (http://mape.me/)',
npm sill testEngine 'Brian Hammond brian@fictorial.com (http://fictorial.
com/)',
npm sill testEngine 'Charlie Robbins charlie.robbins@gmail.com (http://ww
w.charlierobbins.com/)',
npm sill testEngine 'Francisco Treacy francisco.treacy@gmail.com (http://
franciscotreacy.com/)',
npm sill testEngine 'Cliffano Subagio cliffano@gmail.com (http://blog.cli
ffano.com/)',
npm sill testEngine 'Christian Eager christian.eager@nokia.com (http://pe
rpenduum.com)',
npm sill testEngine 'Dav Glass davglass@gmail.com (http://blog.davglass.c
om)',
npm sill testEngine 'Alex K. Wolfe alexkwolfe@gmail.com',
npm sill testEngine 'James Sanders jimmyjazz14@gmail.com (http://james-sa
nders.com/)',
npm sill testEngine 'Reid Burke me@reidburke.com (http://reidburke.com/)'
,
npm sill testEngine 'Arlo Breault arlolra@gmail.com (http://thoughtherder
.com/)',
npm sill testEngine 'Timo Derstappen teemow@gmail.com (http://teemow.com)
',
npm sill testEngine 'Bradley Meck bradley.meck@gmail.com',
npm sill testEngine 'Bart Teeuwisse bart.teeuwisse@thecodemill.biz (http:
//thecodemill.biz/)',
npm sill testEngine 'Ben Noordhuis info@bnoordhuis.nl (http://bnoordhuis.
nl/)',
npm sill testEngine 'Tor Valamo tor.valamo@gmail.com (http://www.magnimed
ia.no/)',
npm sill testEngine 'Whyme.Lyu 5longluna@gmail.com (http://whyme.kuantu.c
om/)',
npm sill testEngine 'Olivier Melcher olivier.melcher@gmail.com',
npm sill testEngine 'Tomaz Muraus kami@k5-storitve.net (http://www.tomaz-
muraus.info)',
npm sill testEngine 'Evan Meagher evan.meagher@gmail.com (http://evanmeag
her.net/)',
npm sill testEngine 'Orlando Vazquez ovazquez@gmail.com (http://2wycked.n
et/)',
npm sill testEngine 'George Miroshnykov gmiroshnykov@lohika.com',
npm sill testEngine 'Geoff Flarity (http://ca.linkedin.com/pub/geoff-flarit
y/a/536/43a)',
npm sill testEngine 'Pete Kruckenberg pete@kruckenberg.com',
npm sill testEngine 'Laurie Harper laurie@holoweb.net (http://laurie.holo
web.net/)',
npm sill testEngine 'Chris Wong chris@chriswongstudio.com',
npm sill testEngine 'Max Goodman c@chromacode.com (http://chromacode.com/
)',
npm sill testEngine 'Scott Bronson ',
npm sill testEngine 'Federico Romero federomero@gmail.com',
npm sill testEngine 'Visnu Pitiyanuvath visnupx@gmail.com (http://visnup.
com)',
npm sill testEngine 'Irakli Gozalishvili rfobic@gmail.com (http://jeditoo
lkit.com/)',
npm sill testEngine 'Mark Cahill mark@tiemonster.info (http://www.tiemons
ter.info/)',
npm sill testEngine 'Zearin zearin@gonk.net',
npm sill testEngine 'Iain Sproat iainsproat@gmail.com',
npm sill testEngine 'Trent Mick trentm@gmail.com (http://trentm.com/)',
npm sill testEngine 'Felix Geisendo"rfer felix@debuggable.com (http://www
.debuggable.com/)',
npm sill testEngine 'Conny Brunnkvist cbrunnkvist@gmail.com (http://twitt
er.com/connyb)',
npm sill testEngine 'Will Elwood w.elwood08@gmail.com (https://github.com
/welwood08)',
npm sill testEngine 'Oleg Efimov efimovov@gmail.com (http://sannis.ru)',
npm sill testEngine 'Martin Cooper mfncooper@gmail.com',
npm sill testEngine 'Jameson Little t.jameson.little@gmail.com',
npm sill testEngine 'cspotcode cspotcode@gmail.com',
npm sill testEngine 'Maciej Malecki maciej.malecki@notimplemented.org',
npm sill testEngine 'Stephen Sugden glurgle@gmail.com' ] }
npm verb caching C:\apps\node\bin\node_modules\npm\package.json
npm verb loadDefaults npm@1.0.103
npm verb into C:\apps\node\bin [ 'webservice' ]
npm verb cache add webservice
npm verb cache add [ 'webservice', null ]
npm sill cache add: name, spec, args [ undefined,
npm sill cache add: name, spec, args 'webservice',
npm sill cache add: name, spec, args [ 'webservice', null ] ]
npm verb parsed url { pathname: 'webservice',
npm verb parsed url href: 'webservice' }
npm info addNamed [ 'webservice', '' ]
npm verb addNamed [ null, '' ]
npm verb GET webservice
npm verb raw, before any munging webservice
npm verb url resolving [ 'http://registry.npmjs.org/',
npm verb url resolving './webservice' ]
npm verb url resolved http://registry.npmjs.org/webservice

From significant amount of time googling around node.exe 0.5.10, 0.5.9, .... does not resolve DNS correctly....