SyntaxError: Unexpected token < #2870

Closed
slav123 opened this Issue Oct 10, 2012 · 1 comment

Projects

None yet

2 participants

@slav123

npm http 408 https://registry.npmjs.org/connect/2.5.0
npm ERR! registry error parsing json

npm ERR! SyntaxError: Unexpected token <
npm ERR! Request timeout

Request timeout


npm ERR! at Object.parse (native)
npm ERR! at Request._callback (/usr/lib/nodejs/npm/lib/utils/npm-registry-client/request.js:150:21)
npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR! at Request. (native)
npm ERR! at Request.emit (events.js:70:17)
npm ERR! at Request. (/usr/lib/nodejs/request/main.js:521:16)
npm ERR! at Request.emit (events.js:67:17)
npm ERR! at IncomingMessage. (/usr/lib/nodejs/request/main.js:483:14)
npm ERR! at IncomingMessage.emit (events.js:88:20)
npm ERR! at HTTPParser.parserOnMessageComplete as onMessageComplete

@mfncooper
npm member

We need to know the versions of Node and npm you're running, and see the full log, all the way from the command line you ran, through to the error. It would also be helpful to know if you have npm configured to use a proxy, whether this happens for any package, and whether it always happens, is sporadic, or is a one-off.

@mfncooper mfncooper closed this Jan 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment