isaacs/npm — Issue #2213: 500 installing vision-media/n
Author: wyattdanger
Created: 2012-02-29 16:27:01+00:00
State: open

Tried `npm install -g n`, got this:

info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-g', 'n' ]
info using npm@1.1.0-beta-10
info using node@v0.6.6
verbose /usr/local/bin/node node symlink
verbose config file /Users/stephenwyattbush/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose into /usr/local/lib [ 'n' ]
verbose cache add n
verbose cache add [ 'n', null ]
silly cache add: name, spec, args [ undefined, 'n', [ 'n', null ] ]
verbose parsed url { pathname: 'n', path: 'n', href: 'n' }
verbose addNamed [ 'n', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'n', '', false ]
verbose raw, before any munging n
verbose url resolving [ 'https://registry.npmjs.org/', './n' ]
verbose url resolved https://registry.npmjs.org/n
http GET https://registry.npmjs.org/n
http 500 https://registry.npmjs.org/n
silly get cb [ 500,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb date: 'Wed, 29 Feb 2012 16:24:34 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '53',
silly get cb 'cache-control': 'must-revalidate' } ]
ERR! Error: ucs {bad_utf8_character_code}: n
ERR! at Request._callback (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:182:12)
ERR! at Request.callback (/usr/local/lib/node_modules/npm/node_modules/request/main.js:104:22)
ERR! at Request. (/usr/local/lib/node_modules/npm/node_modules/request/main.js:450:18)
ERR! at Request.emit (events.js:67:17)
ERR! at IncomingMessage. (/usr/local/lib/node_modules/npm/node_modules/request/main.js:404:16)
ERR! at IncomingMessage.emit (events.js:88:20)
ERR! at HTTPParser.onMessageComplete (http.js:137:23)
ERR! at CleartextStream.ondata (http.js:1124:24)
ERR! at CleartextStream._push (tls.js:363:27)
ERR! at SecurePair.cycle (tls.js:685:20)
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Darwin 11.3.0
ERR! command "node" "/usr/local/bin/npm" "install" "-g" "n"
ERR! cwd /Users/stephenwyattbush/github/dillinger
ERR! node -v v0.6.6
ERR! npm -v 1.1.0-beta-10
ERR! message ucs {bad_utf8_character_code}: n
verbose exit [ 1, true ]