Skip to content

Instantly share code, notes, and snippets.

@kuno
Created August 3, 2011 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuno/1124099 to your computer and use it in GitHub Desktop.
Save kuno/1124099 to your computer and use it in GitHub Desktop.
registry json errorl og
info it worked if it ends with ok
verbose cli [ 'node', '/usr/bin/npm', 'install', '-g', 'socket.io' ]
info using npm@1.0.22
info using node@v0.4.10
verbose config file /root/.npmrc
verbose config file /usr/etc/npmrc
silly exec /usr/bin/node "/usr/lib/node_modules/npm/bin/npm-get-uid-gid.js" "nobody" 0
silly output from getuid/gid {"uid":99,"gid":0}
silly output from getuid/gid
verbose into /usr/lib [ 'socket.io' ]
verbose cache add [ 'socket.io', null ]
info addNamed [ 'socket.io', '' ]
verbose addNamed [ null, '' ]
verbose GET socket.io
verbose raw, before any munging socket.io
verbose url resolving [ 'https://registry.npmjs.org/', './socket.io' ]
verbose url resolved https://registry.npmjs.org/socket.io
verbose url parsed { protocol: 'https:',
verbose url parsed slashes: true,
verbose url parsed host: 'registry.npmjs.org',
verbose url parsed hostname: 'registry.npmjs.org',
verbose url parsed href: 'https://registry.npmjs.org/socket.io',
verbose url parsed pathname: '/socket.io' }
verbose etag "D7PRRVUEE0M0SJP4GB32DQNQM"
verbose response https://registry.npmjs.org/socket.io
silly chunk <html><title>Request timeout</title><body><h1>Request timeout</h1></body></html>
verbose bad json <html><title>Request timeout</title><body><h1>Request timeout</h1></body></html>
ERR! registry error parsing json
silly get cb [ 408,
silly get cb { 'content-type': 'text/html',
silly get cb 'content-length': '80' } ]
ERR! SyntaxError: Unexpected token ILLEGAL
ERR! <html><title>Request timeout</title><body><h1>Request timeout</h1></body></html>
ERR! at Object.parse (native)
ERR! at IncomingMessage.<anonymous> (/usr/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:163:25)
ERR! at IncomingMessage.emit (events.js:81:20)
ERR! at HTTPParser.onMessageComplete (http.js:133:23)
ERR! at CleartextStream.ondata (http.js:1228:22)
ERR! at CleartextStream._push (tls.js:303:27)
ERR! at SecurePair.cycle (tls.js:577:20)
ERR! at EncryptedStream.write (tls.js:96:13)
ERR! at Socket.ondata (stream.js:36:26)
ERR! at Socket.emit (events.js:64:17)
ERR! Report this *entire* log at:
ERR! <http://github.com/isaacs/npm/issues>
ERR! or email it to:
ERR! <npm-@googlegroups.com>
ERR!
ERR! System Linux 3.0-ARCH
ERR! command "node" "/usr/bin/npm" "install" "-g" "socket.io"
ERR! cwd /tmp
ERR! node -v v0.4.10
ERR! npm -v 1.0.22
verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment