isaacs/npm — Issue #1541: npm install fails on Windows7/cygwin
Author: dreamiurg
Created: 2011-10-12 13:26:48+00:00
State: open

The error:

npm ERR! Error: ECONNREFUSED, Could not contact DNS servers
npm ERR! at IOWatcher.callback (dns.js:74:15)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System CYGWIN_NT-6.1 1.7.9(0.237/5/3)
npm ERR! command "node" "/usr/local/bin/npm" "install" "express"
npm ERR! cwd /cygdrive/c/Users/***/code
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.94
npm ERR! code ECONNREFUSED
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /cygdrive/c/Users/***/code/npm-debug.log
npm not ok

Version information:

$ uname -a
CYGWIN_NT-6.1 *** 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
$ npm --version
1.0.94
$ node --version
v0.4.12