isaacs/npm — Issue #2039: npm install always fails
Author: tjbarbour
Created: 2012-01-15 08:01:51+00:00
State: open

I haven't been able to run npm install on any package, at first I thought it was a proxy / ssl issues but I've tried it on various networks & with various options to no avail =(
I'm running on 64 bit windows 7 (running as admin). Thanx for any help you can provide!

```
info it worked if it ends with ok
verbose cli [ 'C:\\Program Files (x86)\\nodejs\\\\node.exe',
verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
verbose cli 'install',
verbose cli 'express' ]
info using npm@1.1.0-beta-10
info using node@v0.6.7
verbose config file C:\Users\tj\.npmrc
verbose config file C:\Program Files (x86)\nodejs\etc\npmrc
verbose config file C:\Program Files (x86)\nodejs\node_modules\npm\npmrc
verbose mkdir done: C:\Users\tj\AppData\Roaming\npm 755
verbose mkdir done: C:\Program Files (x86)\nodejs 755
verbose caching C:\Program Files (x86)\nodejs\node_modules\npm\package.json
verbose loadDefaults npm@1.1.0-beta-10
verbose into C:\Program Files (x86)\nodejs [ 'express' ]
verbose cache add express
verbose cache add [ 'express', null ]
silly cache add: name, spec, args [ undefined, 'express', [ 'express', null ] ]
verbose parsed url { pathname: 'express', path: 'express', href: 'express' }
verbose addNamed [ 'express', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'express', '', false ]
verbose raw, before any munging express
verbose url resolving [ 'https://registry.npmjs.org/', './express' ]
verbose url resolved https://registry.npmjs.org/express
http GET https://registry.npmjs.org/express
ERR! Error: failed to fetch from registry: express
ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\npm-registry-client\get.js:139:12
ERR! at cb (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\npm-registry-client\request.js:32:9)
ERR! at Request._callback (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\npm-registry-client\request.js:137:18)
ERR! at Request.callback (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\request\main.js:104:22)
ERR! at Request. (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\request\main.js:181:58)
ERR! at Request.emit (events.js:88:20)
ERR! at ClientRequest. (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\request\main.js:178:10)
ERR! at ClientRequest.emit (events.js:67:17)
ERR! at CleartextStream. (http.js:1127:11)
ERR! at CleartextStream.emit (events.js:67:17)
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 (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "express"
ERR! cwd C:\Program Files (x86)\nodejs
ERR! node -v v0.6.7
ERR! npm -v 1.1.0-beta-10
ERR! message failed to fetch from registry: express
verbose exit [ 1, true ]
```