title: Can't install any package with node npm
body: <p>I'm trying to install some node packages through npm, but it won't go.
  I've already tried to install/unistall/update node, but nothing seems to work.</p>
  
  <p>I'm using ubuntu 12.04 - Here is how i'm trying to install packages:</p>
  
  <pre><code>npm install underscore
  
  npm http GET http://registry.npmjs.org/underscore
  npm http 404 http://registry.npmjs.org/underscore
  npm ERR! registry error parsing json
  npm ERR! SyntaxError: Unexpected token &lt;
  npm ERR! &lt;html&gt;
  npm ERR!   &lt;head&gt;
  npm ERR!     &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
  npm ERR!     &lt;script type="text/javascript" language="JavaScript" src="http://img.sedoparking.com/registrar/dopark.js"&gt;&lt;/script&gt;
  npm ERR!   &lt;/head&gt;
  npm ERR!   &lt;body style="display: none;"&gt;
  npm ERR!     &lt;script type="text/javascript"&gt;
  npm ERR! var reg = 'sedonewreg';
  npm ERR! document.write( '&lt;scr'+'ipt type="text/javascript" language="JavaScript"' + 'src="http://sedoparking.com/' + window.location.host + '/' + reg + '/park.js"&gt;' + '&lt;\/scr' + 'ipt&gt;' );
  npm ERR!     &lt;/script&gt;
  npm ERR!  &lt;/body&gt;
  npm ERR! &lt;/html&gt;
  npm ERR! 
  npm ERR!     at Object.parse (native)
  npm ERR!     at RegClient.&lt;anonymous&gt; (/home/smanastirliu/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:235:23)
  npm ERR!     at Request.self.callback (/home/smanastirliu/local/lib/node_modules/npm/node_modules/request/index.js:142:22)
  npm ERR!     at Request.EventEmitter.emit (events.js:98:17)
  npm ERR!     at Request.&lt;anonymous&gt; (/home/smanastirliu/local/lib/node_modules/npm/node_modules/request/index.js:856:14)
  npm ERR!     at Request.EventEmitter.emit (events.js:117:20)
  npm ERR!     at IncomingMessage.&lt;anonymous&gt; (/home/smanastirliu/local/lib/node_modules/npm/node_modules/request/index.js:808:12)
  npm ERR!     at IncomingMessage.EventEmitter.emit (events.js:117:20)
  npm ERR!     at _stream_readable.js:895:16
  npm ERR!     at process._tickCallback (node.js:415:13)
  npm ERR! If you need help, you may report this log at:
  npm ERR!     &lt;http://github.com/isaacs/npm/issues&gt;
  npm ERR! or email it to:
  npm ERR!     &lt;npm-@googlegroups.com&gt;
  
  npm ERR! System Linux 3.5.0-27-generic
  npm ERR! command "/home/smanastirliu/local/bin/node" "/home/smanastirliu/local/bin/npm" "install" "underscore"
  npm ERR! cwd /home/smanastirliu
  npm ERR! node -v v0.10.5
  npm ERR! npm -v 1.2.18
  npm ERR! type unexpected_token
  npm ERR! Error: EACCES, open 'npm-debug.log'
  npm ERR!  { [Error: EACCES, open 'npm-debug.log'] errno: 3, code: 'EACCES', path: 'npm-debug.log' }
  npm ERR! 
  npm ERR! Please try running this command again as root/Administrator.
  
  npm ERR! System Linux 3.5.0-27-generic
  npm ERR! command "/home/smanastirliu/local/bin/node" "/home/smanastirliu/local/bin/npm" "install" "underscore"
  npm ERR! cwd /home/smanastirliu
  npm ERR! node -v v0.10.5
  npm ERR! npm -v 1.2.18
  npm ERR! path npm-debug.log
  npm ERR! code EACCES
  npm ERR! errno 3
  npm ERR! stack Error: EACCES, open 'npm-debug.log'
  npm ERR! 
  npm ERR! Additional logging details can be found in:
  npm ERR!     /home/smanastirliu/npm-debug.log
  npm ERR! not ok code 0
  smanastirliu@sviluppo69:~$ sudo npm install underscore
  [sudo] password for smanastirliu: 
  npm http GET http://registry.npmjs.org/underscore
  npm http 404 http://registry.npmjs.org/underscore
  npm ERR! registry error parsing json
  npm ERR! SyntaxError: Unexpected token &lt;
  npm ERR! &lt;html&gt;
  npm ERR!   &lt;head&gt;
  npm ERR!     &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
  npm ERR!     &lt;script type="text/javascript" language="JavaScript" src="http://img.sedoparking.com/registrar/dopark.js"&gt;&lt;/script&gt;
  npm ERR!   &lt;/head&gt;
  npm ERR!   &lt;body style="display: none;"&gt;
  npm ERR!     &lt;script type="text/javascript"&gt;
  npm ERR! var reg = 'sedonewreg';
  npm ERR! document.write( '&lt;scr'+'ipt type="text/javascript" language="JavaScript"' + 'src="http://sedoparking.com/' + window.location.host + '/' + reg + '/park.js"&gt;' + '&lt;\/scr' + 'ipt&gt;' );
  npm ERR!     &lt;/script&gt;
  npm ERR!  &lt;/body&gt;
  npm ERR! &lt;/html&gt;
  npm ERR! 
  npm ERR!     at Object.parse (native)
  npm ERR!     at RegClient.&lt;anonymous&gt; (/home/smanastirliu/Scaricati/node-v0.10.5-linux-x86/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:235:23)
  npm ERR!     at Request.self.callback (/home/smanastirliu/Scaricati/node-v0.10.5-linux-x86/lib/node_modules/npm/node_modules/request/index.js:142:22)
  npm ERR!     at Request.EventEmitter.emit (events.js:98:17)
  npm ERR!     at Request.&lt;anonymous&gt; (/home/smanastirliu/Scaricati/node-v0.10.5-linux-x86/lib/node_modules/npm/node_modules/request/index.js:856:14)
  npm ERR!     at Request.EventEmitter.emit (events.js:117:20)
  npm ERR!     at IncomingMessage.&lt;anonymous&gt; (/home/smanastirliu/Scaricati/node-v0.10.5-linux-x86/lib/node_modules/npm/node_modules/request/index.js:808:12)
  npm ERR!     at IncomingMessage.EventEmitter.emit (events.js:117:20)
  npm ERR!     at _stream_readable.js:895:16
  npm ERR!     at process._tickCallback (node.js:415:13)
  npm ERR! If you need help, you may report this log at:
  npm ERR!     &lt;http://github.com/isaacs/npm/issues&gt;
  npm ERR! or email it to:
  npm ERR!     &lt;npm-@googlegroups.com&gt;
  
  npm ERR! System Linux 3.5.0-27-generic
  npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "underscore"
  npm ERR! cwd /home/smanastirliu
  npm ERR! node -v v0.10.5
  npm ERR! npm -v 1.2.18
  npm ERR! type unexpected_token
  npm ERR! 
  npm ERR! Additional logging details can be found in:
  npm ERR!     /home/smanastirliu/npm-debug.log
  npm ERR! not ok code 0
  </code></pre>
  
  <p>and here is the debug.log:</p>
  
  <pre><code>0 info it worked if it ends with ok
  1 verbose cli [ '/usr/local/bin/node',
  1 verbose cli   '/usr/local/bin/npm',
  1 verbose cli   'install',
  1 verbose cli   'underscore' ]
  2 info using npm@1.2.18
  3 info using node@v0.10.5
  4 verbose node symlink /usr/local/bin/node
  5 verbose read json /home/smanastirliu/package.json
  6 verbose read json /home/smanastirliu/package.json
  7 verbose cache add [ 'underscore', null ]
  8 verbose cache add name=undefined spec="underscore" args=["underscore",null]
  9 verbose parsed url { protocol: null,
  9 verbose parsed url   slashes: null,
  9 verbose parsed url   auth: null,
  9 verbose parsed url   host: null,
  9 verbose parsed url   port: null,
  9 verbose parsed url   hostname: null,
  9 verbose parsed url   hash: null,
  9 verbose parsed url   search: null,
  9 verbose parsed url   query: null,
  9 verbose parsed url   pathname: 'underscore',
  9 verbose parsed url   path: 'underscore',
  9 verbose parsed url   href: 'underscore' }
  10 silly lockFile 64bc6893-underscore underscore
  11 verbose lock underscore /home/smanastirliu/.npm/64bc6893-underscore.lock
  12 silly lockFile 64bc6893-underscore underscore
  13 silly lockFile 64bc6893-underscore underscore
  14 verbose addNamed [ 'underscore', '' ]
  15 verbose addNamed [ null, '' ]
  16 silly lockFile 7629b758-underscore underscore@
  17 verbose lock underscore@ /home/smanastirliu/.npm/7629b758-underscore.lock
  18 silly addNameRange { name: 'underscore', range: '', hasData: false }
  19 verbose url raw underscore
  20 verbose url resolving [ 'http://registry.npmjs.org/', './underscore' ]
  21 verbose url resolved http://registry.npmjs.org/underscore
  22 info trying registry request attempt 1 at 16:38:48
  23 http GET http://registry.npmjs.org/underscore
  24 http 404 http://registry.npmjs.org/underscore
  25 verbose bad json &lt;html&gt;
  25 verbose bad json   &lt;head&gt;
  25 verbose bad json     &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
  25 verbose bad json     &lt;script type="text/javascript" language="JavaScript" src="http://img.sedoparking.com/registrar/dopark.js"&gt;&lt;/script&gt;
  25 verbose bad json   &lt;/head&gt;
  25 verbose bad json   &lt;body style="display: none;"&gt;
  25 verbose bad json     &lt;script type="text/javascript"&gt;
  25 verbose bad json var reg = 'sedonewreg';
  25 verbose bad json document.write( '&lt;scr'+'ipt type="text/javascript" language="JavaScript"' + 'src="http://sedoparking.com/' + window.location.host + '/' + reg + '/park.js"&gt;' + '&lt;\/scr' + 'ipt&gt;' );
  25 verbose bad json     &lt;/script&gt;
  25 verbose bad json  &lt;/body&gt;
  25 verbose bad json &lt;/html&gt;
  26 error registry error parsing json
  27 silly registry.get cb [ 404,
  27 silly registry.get   { date: 'Mon, 29 Apr 2013 14:39:02 GMT',
  27 silly registry.get     server: 'Apache',
  27 silly registry.get     'content-length': '521',
  27 silly registry.get     connection: 'close',
  27 silly registry.get     'content-type': 'text/html; charset=UTF-8' } ]
  28 silly lockFile 7629b758-underscore underscore@
  29 silly lockFile 7629b758-underscore underscore@
  30 error SyntaxError: Unexpected token &lt;
  30 error &lt;html&gt;
  30 error   &lt;head&gt;
  30 error     &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
  30 error     &lt;script type="text/javascript" language="JavaScript" src="http://img.sedoparking.com/registrar/dopark.js"&gt;&lt;/script&gt;
  30 error   &lt;/head&gt;
  30 error   &lt;body style="display: none;"&gt;
  30 error     &lt;script type="text/javascript"&gt;
  30 error var reg = 'sedonewreg';
  30 error document.write( '&lt;scr'+'ipt type="text/javascript" language="JavaScript"' + 'src="http://sedoparking.com/' + window.location.host + '/' + reg + '/park.js"&gt;' + '&lt;\/scr' + 'ipt&gt;' );
  30 error     &lt;/script&gt;
  30 error  &lt;/body&gt;
  30 error &lt;/html&gt;
  30 error
  30 error     at Object.parse (native)
  30 error     at RegClient.&lt;anonymous&gt; (/home/smanastirliu/Scaricati/node-v0.10.5-linux-x86/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:235:23)
  30 error     at Request.self.callback (/home/smanastirliu/Scaricati/node-v0.10.5-linux-x86/lib/node_modules/npm/node_modules/request/index.js:142:22)
  30 error     at Request.EventEmitter.emit (events.js:98:17)
  30 error     at Request.&lt;anonymous&gt; (/home/smanastirliu/Scaricati/node-v0.10.5-linux-x86/lib/node_modules/npm/node_modules/request/index.js:856:14)
  30 error     at Request.EventEmitter.emit (events.js:117:20)
  30 error     at IncomingMessage.&lt;anonymous&gt; (/home/smanastirliu/Scaricati/node-v0.10.5-linux-x86/lib/node_modules/npm/node_modules/request/index.js:808:12)
  30 error     at IncomingMessage.EventEmitter.emit (events.js:117:20)
  30 error     at _stream_readable.js:895:16
  30 error     at process._tickCallback (node.js:415:13)
  31 error If you need help, you may report this log at:
  31 error     &lt;http://github.com/isaacs/npm/issues&gt;
  31 error or email it to:
  31 error     &lt;npm-@googlegroups.com&gt;
  32 error System Linux 3.5.0-27-generic
  33 error command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "underscore"
  34 error cwd /home/smanastirliu
  35 error node -v v0.10.5
  36 error npm -v 1.2.18
  37 error type unexpected_token
  38 verbose exit [ 1, true ]
  </code></pre>
  
  <p>Another example with Karma:</p>
  
  <pre><code>sudo npm install karma
  npm http GET http://registry.npmjs.org/karma
  npm http 304 http://registry.npmjs.org/karma
  npm http GET http://registry.npmjs.org/http-proxy
  npm http GET http://registry.npmjs.org/glob
  npm http GET http://registry.npmjs.org/minimatch
  npm http GET http://registry.npmjs.org/optimist/0.3.5
  npm http GET http://registry.npmjs.org/coffee-script
  npm http GET http://registry.npmjs.org/rimraf
  npm http GET http://registry.npmjs.org/xmlbuilder/0.4.2
  npm http GET http://registry.npmjs.org/q
  npm http GET http://registry.npmjs.org/LiveScript/1.0.1
  npm http GET http://registry.npmjs.org/colors/0.6.0-1
  npm http GET http://registry.npmjs.org/dateformat/1.0.2-1.2.3
  npm http GET http://registry.npmjs.org/istanbul/0.1.22
  npm http GET http://registry.npmjs.org/growly
  npm http GET http://registry.npmjs.org/lodash
  npm http GET http://registry.npmjs.org/pause/0.0.1
  npm http GET http://registry.npmjs.org/mime
  npm http GET http://registry.npmjs.org/log4js
  npm http GET http://registry.npmjs.org/socket.io
  npm http GET http://registry.npmjs.org/chokidar
  npm http 304 http://registry.npmjs.org/minimatch
  npm http 304 http://registry.npmjs.org/glob
  npm http 304 http://registry.npmjs.org/optimist/0.3.5
  npm http 304 http://registry.npmjs.org/coffee-script
  npm http 304 http://registry.npmjs.org/xmlbuilder/0.4.2
  npm http 304 http://registry.npmjs.org/rimraf
  npm http 304 http://registry.npmjs.org/q
  npm http 304 http://registry.npmjs.org/LiveScript/1.0.1
  npm http 304 http://registry.npmjs.org/dateformat/1.0.2-1.2.3
  npm http 304 http://registry.npmjs.org/growly
  npm http 304 http://registry.npmjs.org/istanbul/0.1.22
  npm http 304 http://registry.npmjs.org/colors/0.6.0-1
  npm http 304 http://registry.npmjs.org/lodash
  npm http 304 http://registry.npmjs.org/mime
  npm http 304 http://registry.npmjs.org/pause/0.0.1
  npm http 304 http://registry.npmjs.org/log4js
  npm http 304 http://registry.npmjs.org/socket.io
  npm http 304 http://registry.npmjs.org/chokidar
  npm http 200 http://registry.npmjs.org/http-proxy
  npm http GET http://registry.npmjs.org/http-proxy/-/http-proxy-0.10.2.tgz
  npm http 200 http://registry.npmjs.org/http-proxy/-/http-proxy-0.10.2.tgz
  npm http GET http://registry.npmjs.org/graceful-fs
  npm http GET http://registry.npmjs.org/lru-cache
  npm http GET http://registry.npmjs.org/sigmund
  npm http GET http://registry.npmjs.org/graceful-fs
  npm http GET http://registry.npmjs.org/inherits
  npm http GET http://registry.npmjs.org/wordwrap
  npm http GET http://registry.npmjs.org/base64id/0.1.0
  npm http GET http://registry.npmjs.org/socket.io-client/0.9.11
  npm http GET http://registry.npmjs.org/policyfile/0.0.4
  npm http GET http://registry.npmjs.org/redis/0.7.3
  npm http GET http://registry.npmjs.org/async/0.1.15
  npm http GET http://registry.npmjs.org/dequeue/1.0.3
  npm http GET http://registry.npmjs.org/prelude-ls
  npm http GET http://registry.npmjs.org/semver
  npm http GET http://registry.npmjs.org/readable-stream
  npm http GET http://registry.npmjs.org/esprima
  npm http GET http://registry.npmjs.org/escodegen
  npm http GET http://registry.npmjs.org/handlebars
  npm http GET http://registry.npmjs.org/mkdirp
  npm http GET http://registry.npmjs.org/nopt
  npm http GET http://registry.npmjs.org/fileset
  npm http GET http://registry.npmjs.org/which
  npm http GET http://registry.npmjs.org/async
  npm http GET http://registry.npmjs.org/abbrev
  npm http GET http://registry.npmjs.org/wordwrap
  npm http 200 http://registry.npmjs.org/graceful-fs
  npm http GET http://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.0.tgz
  npm http 200 http://registry.npmjs.org/graceful-fs
  npm http 200 http://registry.npmjs.org/inherits
  npm http GET http://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz
  npm http GET http://registry.npmjs.org/pkginfo
  npm http GET http://registry.npmjs.org/utile
  npm http 200 http://registry.npmjs.org/base64id/0.1.0
  npm http GET http://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz
  npm http 200 http://registry.npmjs.org/wordwrap
  npm http GET http://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz
  npm http 200 http://registry.npmjs.org/lru-cache
  npm http GET http://registry.npmjs.org/lru-cache/-/lru-cache-2.3.0.tgz
  npm http 200 http://registry.npmjs.org/policyfile/0.0.4
  npm http GET http://registry.npmjs.org/policyfile/-/policyfile-0.0.4.tgz
  npm http 200 http://registry.npmjs.org/dequeue/1.0.3
  npm http 200 http://registry.npmjs.org/async/0.1.15
  npm http GET http://registry.npmjs.org/dequeue/-/dequeue-1.0.3.tgz
  npm http GET http://registry.npmjs.org/async/-/async-0.1.15.tgz
  npm http 200 http://registry.npmjs.org/socket.io-client/0.9.11
  npm http GET http://registry.npmjs.org/socket.io-client/-/socket.io-client-0.9.11.tgz
  npm http 200 http://registry.npmjs.org/redis/0.7.3
  npm http GET http://registry.npmjs.org/redis/-/redis-0.7.3.tgz
  npm http 200 http://registry.npmjs.org/prelude-ls
  npm http GET http://registry.npmjs.org/prelude-ls/-/prelude-ls-0.6.0.tgz
  npm http 200 http://registry.npmjs.org/semver
  npm http GET http://registry.npmjs.org/semver/-/semver-1.1.4.tgz
  npm http 200 http://registry.npmjs.org/esprima
  npm http GET http://registry.npmjs.org/esprima/-/esprima-0.9.9.tgz
  npm http 200 http://registry.npmjs.org/mkdirp
  npm http GET http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
  npm http 200 http://registry.npmjs.org/handlebars
  npm http GET http://registry.npmjs.org/handlebars/-/handlebars-1.0.10.tgz
  npm http 200 http://registry.npmjs.org/fileset
  npm http GET http://registry.npmjs.org/fileset/-/fileset-0.1.5.tgz
  npm http 200 http://registry.npmjs.org/nopt
  npm http GET http://registry.npmjs.org/nopt/-/nopt-2.0.0.tgz
  npm http 200 http://registry.npmjs.org/which
  npm http GET http://registry.npmjs.org/which/-/which-1.0.5.tgz
  npm http 200 http://registry.npmjs.org/escodegen
  npm http GET http://registry.npmjs.org/escodegen/-/escodegen-0.0.22.tgz
  npm http 200 http://registry.npmjs.org/abbrev
  npm http GET http://registry.npmjs.org/abbrev/-/abbrev-1.0.4.tgz
  npm http 200 http://registry.npmjs.org/wordwrap
  npm http 200 http://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.0.tgz
  npm http 200 http://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz
  npm http 200 http://registry.npmjs.org/pkginfo
  npm http GET http://registry.npmjs.org/pkginfo/-/pkginfo-0.2.3.tgz
  npm http 200 http://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz
  npm http 200 http://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz
  npm http 200 http://registry.npmjs.org/lru-cache/-/lru-cache-2.3.0.tgz
  npm http 200 http://registry.npmjs.org/policyfile/-/policyfile-0.0.4.tgz
  npm http 200 http://registry.npmjs.org/readable-stream
  npm http GET http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.2.tgz
  npm http 200 http://registry.npmjs.org/utile
  npm http GET http://registry.npmjs.org/utile/-/utile-0.1.7.tgz
  npm http 200 http://registry.npmjs.org/async/-/async-0.1.15.tgz
  npm http 200 http://registry.npmjs.org/socket.io-client/-/socket.io-client-0.9.11.tgz
  npm http 200 http://registry.npmjs.org/dequeue/-/dequeue-1.0.3.tgz
  npm http 200 http://registry.npmjs.org/redis/-/redis-0.7.3.tgz
  npm http 200 http://registry.npmjs.org/prelude-ls/-/prelude-ls-0.6.0.tgz
  npm http 200 http://registry.npmjs.org/semver/-/semver-1.1.4.tgz
  npm http 200 http://registry.npmjs.org/esprima/-/esprima-0.9.9.tgz
  npm http 200 http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
  npm http 200 http://registry.npmjs.org/handlebars/-/handlebars-1.0.10.tgz
  npm http 200 http://registry.npmjs.org/sigmund
  npm http GET http://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
  npm http 200 http://registry.npmjs.org/fileset/-/fileset-0.1.5.tgz
  npm http 200 http://registry.npmjs.org/nopt/-/nopt-2.0.0.tgz
  npm http 200 http://registry.npmjs.org/which/-/which-1.0.5.tgz
  npm http 200 http://registry.npmjs.org/async
  npm http 200 http://registry.npmjs.org/escodegen/-/escodegen-0.0.22.tgz
  npm http GET http://registry.npmjs.org/async/-/async-0.1.22.tgz
  npm http 200 http://registry.npmjs.org/abbrev/-/abbrev-1.0.4.tgz
  npm http 200 http://registry.npmjs.org/pkginfo/-/pkginfo-0.2.3.tgz
  npm http 200 http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.2.tgz
  npm http 200 http://registry.npmjs.org/utile/-/utile-0.1.7.tgz
  npm http 200 http://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
  npm http GET http://registry.npmjs.org/deep-equal
  npm http 200 http://registry.npmjs.org/async/-/async-0.1.22.tgz
  npm http GET http://registry.npmjs.org/i
  npm http GET http://registry.npmjs.org/ncp
  npm http GET http://registry.npmjs.org/rimraf
  npm http 200 http://registry.npmjs.org/deep-equal
  npm http GET http://registry.npmjs.org/deep-equal/-/deep-equal-0.0.0.tgz
  npm http 304 http://registry.npmjs.org/rimraf
  npm http GET http://registry.npmjs.org/rimraf/-/rimraf-1.0.9.tgz
  npm http 200 http://registry.npmjs.org/i
  npm http GET http://registry.npmjs.org/i/-/i-0.3.1.tgz
  npm http 200 http://registry.npmjs.org/deep-equal/-/deep-equal-0.0.0.tgz
  npm http 200 http://registry.npmjs.org/rimraf/-/rimraf-1.0.9.tgz
  npm http 200 http://registry.npmjs.org/ncp
  npm http GET http://registry.npmjs.org/ncp/-/ncp-0.2.7.tgz
  npm http 200 http://registry.npmjs.org/i/-/i-0.3.1.tgz
  npm http 404 http://registry.npmjs.org/ncp/-/ncp-0.2.7.tgz
  npm ERR! fetch failed http://registry.npmjs.org/ncp/-/ncp-0.2.7.tgz
  npm ERR! Error: 404 Not Found
  npm ERR!     at WriteStream.&lt;anonymous&gt; (/home/smanastirliu/Scaricati/node-v0.10.5-linux-x86/lib/node_modules/npm/lib/utils/fetch.js:57:12)
  npm ERR!     at WriteStream.EventEmitter.emit (events.js:117:20)
  npm ERR!     at fs.js:1596:14
  npm ERR!     at Object.oncomplete (fs.js:107:15)
  npm ERR! If you need help, you may report this log at:
  npm ERR!     &lt;http://github.com/isaacs/npm/issues&gt;
  npm ERR! or email it to:
  npm ERR!     &lt;npm-@googlegroups.com&gt;
  
  npm ERR! System Linux 3.5.0-27-generic
  npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "karma"
  npm ERR! cwd /home/smanastirliu
  npm ERR! node -v v0.10.5
  npm ERR! npm -v 1.2.18
  npm http GET http://registry.npmjs.org/uglify-js/1.2.5
  npm http GET http://registry.npmjs.org/ws
  npm http GET http://registry.npmjs.org/xmlhttprequest/1.4.2
  npm http GET http://registry.npmjs.org/active-x-obfuscator/0.0.1
  npm http 404 http://registry.npmjs.org/uglify-js/1.2.5
  npm ERR! registry error parsing json
  npm http 404 http://registry.npmjs.org/xmlhttprequest/1.4.2
  npm ERR! registry error parsing json
  npm http 404 http://registry.npmjs.org/active-x-obfuscator/0.0.1
  npm ERR! registry error parsing json
  npm http 404 http://registry.npmjs.org/ws
  npm ERR! registry error parsing json
  npm http GET http://registry.npmjs.org/source-map
  npm http GET http://registry.npmjs.org/estraverse
  npm http GET http://registry.npmjs.org/esprima
  npm http GET http://registry.npmjs.org/uglify-js
  npm http 404 http://registry.npmjs.org/esprima
  npm ERR! registry error parsing json
  npm http 404 http://registry.npmjs.org/source-map
  npm ERR! registry error parsing json
  npm WARN optional dep failed, continuing source-map@&gt;= 0.1.2
  npm http GET http://registry.npmjs.org/esprima/-/esprima-1.0.2.tgz
  npm http 404 http://registry.npmjs.org/estraverse
  npm ERR! registry error parsing json
  npm http 404 http://registry.npmjs.org/uglify-js
  npm ERR! registry error parsing json
  npm http 404 http://registry.npmjs.org/esprima/-/esprima-1.0.2.tgz
  npm ERR! fetch failed http://registry.npmjs.org/esprima/-/esprima-1.0.2.tgz
  npm ERR! 
  npm ERR! Additional logging details can be found in:
  npm ERR!     /home/smanastirliu/npm-debug.log
  npm ERR! not ok code 0
  </code></pre>
  
  <p>Calling the packages url from browser I get a strange response (same response for any url):</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
      &lt;script type="text/javascript" language="JavaScript" src="http://img.sedoparking.com/registrar/dopark.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
    &lt;body style="display: none;"&gt;
      &lt;script type="text/javascript"&gt;
  var reg = 'sedonewreg';
  document.write( '&lt;scr'+'ipt type="text/javascript" language="JavaScript"' + 'src="http://sedoparking.com/' + window.location.host + '/' + reg + '/park.js"&gt;' + '&lt;\/scr' + 'ipt&gt;' );
      &lt;/script&gt;
   &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>It seems to be a proxy error: I'm investigating</p>