isaacs/npm — Issue #1779: NPM On Windows: intermittent failure in installing express
Author: markcowl
Created: 2011-11-23 20:43:03+00:00
State: open

On some machines, installing express fails, debug log:

info it worked if it ends with ok
verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
verbose cli 'search' ]
info using npm@1.1.0-alpha
info using node@v0.6.2
verbose config file C:\Users\xuezhain\.npmrc
verbose config file C:\Program Files\etc\npmrc
verbose config file C:\Program Files\nodejs\node_modules\npm\npmrc
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\xuezhain\npm-cache'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\xuezhain\npm-cache\-'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\xuezhain\npm-cache\-\all'
verbose mkdir done: C:\Users\xuezhain\npm-cache\-\all 755
WARN Building the index for the first time, please be patient
verbose GET /-/all
verbose raw, before any munging /-/all
verbose url resolving [ 'https://registry.npmjs.org/', './-/all' ]
verbose url resolved https://registry.npmjs.org/-/all
ERR! Error: connect Unknown system errno 10060
ERR! at errnoException (net.js:614:11)
ERR! at Object.afterConnect [as oncomplete] (net.js:605:18)
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Windows_NT 6.1.7601
ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "search"
ERR! cwd E:\npm
ERR! node -v v0.6.2
ERR! npm -v 1.1.0-alpha
ERR! syscall connect
ERR! code Unknown system errno 10060
ERR! message connect Unknown system errno 10060
verbose exit [ 1, true ]