isaacs/npm — Issue #2136: So 304 is all good by why no package?
Author: northcob
Created: 2012-02-08 01:11:50+00:00
State: open

The log says it all.

info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', 'http' ]
info using npm@1.1.0-3
info using node@v0.6.10
verbose config file /Users/billn/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose cache add [ 'http', null ]
silly cache add: name, spec, args [ undefined, 'http', [ 'http', null ] ]
verbose parsed url { pathname: 'http', path: 'http', href: 'http' }
verbose addNamed [ 'http', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'http', '', false ]
verbose raw, before any munging http
verbose url resolving [ 'http://registry.npmjs.org/', './http' ]
verbose url resolved http://registry.npmjs.org/http
verbose etag "7X9WCTXT1Y0BJLF9HXB4412R1"
http GET http://registry.npmjs.org/http
http 304 http://registry.npmjs.org/http
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"7X9WCTXT1Y0BJLF9HXB4412R1"',
silly get cb date: 'Wed, 08 Feb 2012 01:07:04 GMT',
silly get cb 'content-length': '0' } ]
verbose etag http from cache
silly name, range, hasData 2 [ 'http', '', true ]
silly versions [ 'http', [] ]
ERR! Error: No compatible version found: http
ERR! No valid targets found.
ERR! Perhaps not compatible with your version of node?
ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:488:10)
ERR! at next_ (/usr/local/lib/node_modules/npm/lib/cache.js:438:17)
ERR! at next (/usr/local/lib/node_modules/npm/lib/cache.js:415:44)
ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:408:5
ERR! at saved (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:147:7)
ERR! at Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:231:7)
ERR! You may report this log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Darwin 11.3.0
ERR! command "node" "/usr/local/bin/npm" "install" "http"
ERR! cwd /Users/billn/Documents/Nodejs/webserver
ERR! node -v v0.6.10
ERR! npm -v 1.1.0-3
ERR! message No compatible version found: http
ERR! message No valid targets found.
ERR! message Perhaps not compatible with your version of node?
verbose exit [ 1, true ]