Skip to content

Instantly share code, notes, and snippets.

@jdpaton
Created September 1, 2011 03:24
Show Gist options
  • Save jdpaton/1185359 to your computer and use it in GitHub Desktop.
Save jdpaton/1185359 to your computer and use it in GitHub Desktop.
NPM & HTTPS & Local caching Proxy
npm ERR! registry error parsing json
npm ERR! SyntaxError: Unexpected token ILLEGAL
npm ERR! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
npm ERR! <html><head>
npm ERR! <title>Proxy error: 400 Couldn't parse URL.</title>
npm ERR! </head><body>
npm ERR! <h1>400 Couldn't parse URL</h1>
npm ERR! <p>The following error occurred while trying to access <strong>https://registry.npmjs.org/request</strong>:<br><br>
npm ERR! <strong>400 Couldn't parse URL</strong></p>
npm ERR! <hr>Generated Wed, 31 Aug 2011 20:22:34 PDT by Polipo on <em>Manitoba:8123</em>.
npm ERR! </body></html>
npm ERR!
npm ERR! at Object.parse (native)
npm ERR! at IncomingMessage.responseDone (/home/jamie/.nodelocal/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:176:25)
npm ERR! at IncomingMessage.emit (events.js:81:20)
npm ERR! at HTTPParser.onMessageComplete (http.js:133:23)
npm ERR! at Socket.ondata (http.js:1228:22)
npm ERR! at Socket._onReadable (net.js:683:27)
npm ERR! at IOWatcher.onReadable (net.js:177:10)
npm ERR! Report this *entire* log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR!
npm ERR! System Linux 3.0-ARCH
npm ERR! command "node" "/home/jamie/.nodelocal/bin/npm" "install" "request"
npm ERR! cwd /home/jamie/nodeapps/audronica/server
npm ERR! node -v v0.4.10
npm ERR! npm -v 1.0.24
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/jamie/nodeapps/audronica/server/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment