npm ERR! registry error parsing json #4088

Closed
NWitmer opened this Issue Nov 4, 2013 · 8 comments

Comments

Projects
None yet
7 participants

NWitmer commented Nov 4, 2013

Brand new to node. I've been trying to get through a Hello World tutorial for 2 days now and I can't get Express and the dependencies installed through npm. Here's what I get:


nathaniel@nathaniel-Satellite-C875:~/node/nodetest1$ sudo npm install
npm http GET https://registry.npmjs.org/express/3.4.4
npm http GET https://registry.npmjs.org/mongodb/1.3.19
npm http GET https://registry.npmjs.org/jade
npm http GET https://registry.npmjs.org/monk/0.7.1
npm http 500 https://registry.npmjs.org/mongodb/1.3.19
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/monk/0.7.1
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mongodb/1.3.19
npm http GET https://registry.npmjs.org/monk/0.7.1
npm http GET https://registry.npmjs.org/jade
npm http GET https://registry.npmjs.org/express/3.4.4
npm http 500 https://registry.npmjs.org/mongodb/1.3.19
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/monk/0.7.1
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mongodb/1.3.19
npm http GET https://registry.npmjs.org/monk/0.7.1
npm http 500 https://registry.npmjs.org/express/3.4.4
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/monk/0.7.1
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/express/3.4.4
npm http 500 https://registry.npmjs.org/express/3.4.4
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/jade
npm http 500 https://registry.npmjs.org/jade
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mongoskin/0.4.4
npm http GET https://registry.npmjs.org/connect/2.11.0
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/cookie/0.1.0
npm http GET https://registry.npmjs.org/mkdirp/0.3.5
npm http GET https://registry.npmjs.org/fresh/0.2.0
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/commander/1.3.2
npm http GET https://registry.npmjs.org/cookie-signature/1.0.1
npm http GET https://registry.npmjs.org/send/0.1.4
npm http GET https://registry.npmjs.org/methods/0.1.0
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/kerberos/0.0.3
npm http GET https://registry.npmjs.org/transformers/2.1.0
npm http GET https://registry.npmjs.org/character-parser/1.2.0
npm http 500 https://registry.npmjs.org/connect/2.11.0
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/with
npm http GET https://registry.npmjs.org/bson/0.2.2
npm http GET https://registry.npmjs.org/commander/2.0.0
npm http GET https://registry.npmjs.org/constantinople
npm http 500 https://registry.npmjs.org/fresh/0.2.0
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/debug
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/cookie-signature/1.0.1
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/monocle/1.1.50
npm http 500 https://registry.npmjs.org/methods/0.1.0
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/send/0.1.4
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/commander/1.3.2
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/mkdirp
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/kerberos/0.0.3
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/transformers/2.1.0
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/commander/2.0.0
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mongoskin/0.4.4
npm http GET https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/cookie/0.1.0
npm http GET https://registry.npmjs.org/mkdirp/0.3.5
npm http GET https://registry.npmjs.org/connect/2.11.0
npm http GET https://registry.npmjs.org/fresh/0.2.0
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/cookie-signature/1.0.1
npm http 500 https://registry.npmjs.org/range-parser/0.0.4
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/character-parser/1.2.0
npm http GET https://registry.npmjs.org/bson/0.2.2
npm http GET https://registry.npmjs.org/with
npm http 500 https://registry.npmjs.org/cookie/0.1.0
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/methods/0.1.0
npm http GET https://registry.npmjs.org/send/0.1.4
npm http GET https://registry.npmjs.org/constantinople
npm http GET https://registry.npmjs.org/commander/1.3.2
npm http GET https://registry.npmjs.org/monocle/1.1.50
npm http 500 https://registry.npmjs.org/connect/2.11.0
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/kerberos/0.0.3
npm http GET https://registry.npmjs.org/transformers/2.1.0
npm http 500 https://registry.npmjs.org/fresh/0.2.0
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/commander/2.0.0
npm http 500 https://registry.npmjs.org/cookie-signature/1.0.1
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/debug
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/methods/0.1.0
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/monocle/1.1.50
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/mkdirp
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/kerberos/0.0.3
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/commander/2.0.0
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/transformers/2.1.0
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mongoskin/0.4.4
npm http GET https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/mkdirp/0.3.5
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/cookie/0.1.0
npm http GET https://registry.npmjs.org/character-parser/1.2.0
npm http GET https://registry.npmjs.org/with
npm http GET https://registry.npmjs.org/bson/0.2.2
npm http 500 https://registry.npmjs.org/buffer-crc32/0.2.1
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/send/0.1.4
npm http GET https://registry.npmjs.org/constantinople
npm http 500 https://registry.npmjs.org/mkdirp/0.3.5
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/commander/1.3.2
npm ERR! TypeError: Cannot read property 'latest' of undefined
npm ERR!     at next (/usr/local/lib/node_modules/npm/lib/cache.js:687:35)
npm ERR!     at /usr/local/lib/node_modules/npm/lib/cache.js:675:5
npm ERR!     at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR!     at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7
npm ERR!     at Object.oncomplete (fs.js:96:15)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 3.8.0-32-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/nathaniel/node/nodetest1
npm ERR! node -v v0.11.9-pre
npm ERR! npm -v 1.3.13
npm http GET https://registry.npmjs.org/connect/2.11.0
npm http GET https://registry.npmjs.org/fresh/0.2.0
npm http GET https://registry.npmjs.org/cookie-signature/1.0.1
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/methods/0.1.0
npm http 500 https://registry.npmjs.org/cookie/0.1.0
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/monocle/1.1.50
npm http 500 https://registry.npmjs.org/bson/0.2.2
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/character-parser/1.2.0
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mongodb
npm http 500 https://registry.npmjs.org/commander/1.3.2
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/kerberos/0.0.3
npm http GET https://registry.npmjs.org/commander/2.0.0
npm http 500 https://registry.npmjs.org/cookie-signature/1.0.1
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/transformers/2.1.0
npm http 500 https://registry.npmjs.org/methods/0.1.0
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/monocle/1.1.50
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/keypress
npm http 500 https://registry.npmjs.org/transformers/2.1.0
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/commander/2.0.0
npm ERR! registry error parsing json

> kerberos@0.0.3 install /home/nathaniel/node/nodetest1/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)

npm http GET https://registry.npmjs.org/raw-body/0.0.3
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/negotiator/0.3.0
npm http GET https://registry.npmjs.org/uid2/0.0.3
npm http GET https://registry.npmjs.org/bytes/0.2.1
npm http GET https://registry.npmjs.org/multiparty/2.2.0
npm http GET https://registry.npmjs.org/qs/0.6.5
npm http GET https://registry.npmjs.org/methods/0.0.1
npm http 500 https://registry.npmjs.org/keypress
npm ERR! registry error parsing json

> bson@0.2.2 install /home/nathaniel/node/nodetest1/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)

npm http 500 https://registry.npmjs.org/pause/0.0.1
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/raw-body/0.0.3
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/bytes/0.2.1
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/mime
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/negotiator/0.3.0
npm http GET https://registry.npmjs.org/uid2/0.0.3
npm http GET https://registry.npmjs.org/multiparty/2.2.0
npm http GET https://registry.npmjs.org/qs/0.6.5
npm http GET https://registry.npmjs.org/methods/0.0.1
npm http GET https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/raw-body/0.0.3
npm http GET https://registry.npmjs.org/bytes/0.2.1
npm http 500 https://registry.npmjs.org/uid2/0.0.3
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mime
npm http 500 https://registry.npmjs.org/negotiator/0.3.0
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/qs/0.6.5
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/pause/0.0.1
npm ERR! registry error parsing json
npm http 500 https://registry.npmjs.org/bytes/0.2.1
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/multiparty/2.2.0
npm http GET https://registry.npmjs.org/methods/0.0.1
npm http GET https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/uid2/0.0.3
npm http GET https://registry.npmjs.org/negotiator/0.3.0
npm http GET https://registry.npmjs.org/raw-body/0.0.3
npm http GET https://registry.npmjs.org/qs/0.6.5
npm http GET https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/bytes/0.2.1
npm http 304 https://registry.npmjs.org/multiparty/2.2.0
npm http GET https://registry.npmjs.org/bson/0.1.5
npm http 304 https://registry.npmjs.org/keypress
npm http 304 https://registry.npmjs.org/negotiator/0.3.0
npm http 304 https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/stream-counter
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/bson/0.1.5
npm http GET https://registry.npmjs.org/stream-counter
npm http GET https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/bson/0.1.5

> bson@0.1.5 install /home/nathaniel/node/nodetest1/node_modules/monk/node_modules/mongoskin/node_modules/mongodb/node_modules/bson
> node install.js || (exit 0)

================================================================================
=                                                                              =
=  Attempting to build bson c++ extension                                      =
=   Windows: no build will be attempted as binaries are prepackaged            =
=   Unix: on failure the package will still install without the C++ extension  =
=                                                                              =
================================================================================
node-gyp clean
node-gyp configure build
gyp ERR! configure error 
gyp ERR! stack Error: "pre" versions of node cannot be installed, use the --nodedir flag instead
gyp ERR! stack     at install (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:65:16)
gyp ERR! stack     at Object.self.commands.(anonymous function) [as install] (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:66:37)
gyp ERR! stack     at getNodeDir (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:271:20)
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:112:9
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:659:7)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:106:17)
gyp ERR! stack     at maybeClose (child_process.js:773:16)
gyp ERR! stack     at Socket.<anonymous> (child_process.js:986:11)
gyp ERR! stack     at Socket.EventEmitter.emit (events.js:103:17)
gyp ERR! stack     at Pipe.close (net.js:458:12)
gyp ERR! System Linux 3.8.0-32-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /home/nathaniel/node/nodetest1/node_modules/monk/node_modules/mongoskin/node_modules/mongodb/node_modules/bson
gyp ERR! node -v v0.11.9-pre
gyp ERR! node-gyp -v v0.11.0
gyp ERR! not ok 
make: *** [node_gyp] Error 1
child process exited with code 2
npm http 304 https://registry.npmjs.org/stream-counter
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/debuglog/0.0.2
npm http GET https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/debuglog/0.0.2
npm http 304 https://registry.npmjs.org/core-util-is
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/nathaniel/node/nodetest1/npm-debug.log
npm ERR! not ok code 0

I am not using a proxy. I am able to download and install other software. I had some difficulty installing Express but eventually got it (I think, although I haven't ruled out that Express didn't install correctly and maybe that's compounding the problem). But either way it seems to be a problem with npm or how npm is working with my machine or my connection.

I went back and tried installing Express again. Got some errors but it seemed like it might've worked anyway so I continued to try installing dependencies again. The forum won't allow me to post the contents of the npm-debug.log file because it's too long. Here's what I got in the terminal:


nathaniel@nathaniel-Satellite-C875:~/node/nodetest1$ sudo npm install express
npm http GET http://registry.npmjs.org/express/3.4.4
npm http 304 http://registry.npmjs.org/express/3.4.4
npm http GET http://registry.npmjs.org/connect/2.11.0
npm http GET http://registry.npmjs.org/commander/1.3.2
npm http GET http://registry.npmjs.org/range-parser/0.0.4
npm http GET http://registry.npmjs.org/mkdirp/0.3.5
npm http GET http://registry.npmjs.org/cookie/0.1.0
npm http GET http://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET http://registry.npmjs.org/fresh/0.2.0
npm http GET http://registry.npmjs.org/methods/0.1.0
npm http GET http://registry.npmjs.org/send/0.1.4
npm http GET http://registry.npmjs.org/cookie-signature/1.0.1
npm http GET http://registry.npmjs.org/debug
npm http 304 http://registry.npmjs.org/commander/1.3.2
npm http 304 http://registry.npmjs.org/mkdirp/0.3.5
npm http 304 http://registry.npmjs.org/connect/2.11.0
npm http 304 http://registry.npmjs.org/buffer-crc32/0.2.1
npm http 304 http://registry.npmjs.org/methods/0.1.0
npm http 304 http://registry.npmjs.org/cookie-signature/1.0.1
npm http GET http://registry.npmjs.org/cookie/0.1.0
npm http GET http://registry.npmjs.org/range-parser/0.0.4
npm http GET http://registry.npmjs.org/fresh/0.2.0
npm http GET http://registry.npmjs.org/send/0.1.4
npm http GET http://registry.npmjs.org/debug
npm http 304 http://registry.npmjs.org/fresh/0.2.0
npm http 304 http://registry.npmjs.org/send/0.1.4
npm http 304 http://registry.npmjs.org/debug
npm http GET http://registry.npmjs.org/range-parser/0.0.4
npm http GET http://registry.npmjs.org/cookie/0.1.0
npm http 304 http://registry.npmjs.org/cookie/0.1.0
npm http GET http://registry.npmjs.org/mime
npm http GET http://registry.npmjs.org/keypress
npm http GET http://registry.npmjs.org/qs/0.6.5
npm http GET http://registry.npmjs.org/bytes/0.2.1
npm http GET http://registry.npmjs.org/pause/0.0.1
npm http GET http://registry.npmjs.org/uid2/0.0.3
npm http GET http://registry.npmjs.org/methods/0.0.1
npm http GET http://registry.npmjs.org/raw-body/0.0.3
npm http GET http://registry.npmjs.org/negotiator/0.3.0
npm http GET http://registry.npmjs.org/multiparty/2.2.0
npm http 304 http://registry.npmjs.org/pause/0.0.1
npm http 304 http://registry.npmjs.org/bytes/0.2.1
npm http 304 http://registry.npmjs.org/uid2/0.0.3
npm http 304 http://registry.npmjs.org/multiparty/2.2.0
npm http GET http://registry.npmjs.org/mime
npm http GET http://registry.npmjs.org/keypress
npm http GET http://registry.npmjs.org/qs/0.6.5
npm http GET http://registry.npmjs.org/methods/0.0.1
npm http GET http://registry.npmjs.org/negotiator/0.3.0
npm http GET http://registry.npmjs.org/raw-body/0.0.3
npm http 304 http://registry.npmjs.org/mime
npm http 304 http://registry.npmjs.org/keypress
npm http 200 http://registry.npmjs.org/qs/0.6.5
npm http GET http://registry.npmjs.org/qs/-/qs-0.6.5.tgz
npm http 304 http://registry.npmjs.org/raw-body/0.0.3
npm http 304 http://registry.npmjs.org/negotiator/0.3.0
npm ERR! fetch failed http://registry.npmjs.org/qs/-/qs-0.6.5.tgz
npm http GET http://registry.npmjs.org/qs/-/qs-0.6.5.tgz
npm http 200 http://registry.npmjs.org/qs/-/qs-0.6.5.tgz
npm http GET http://registry.npmjs.org/methods/0.0.1
npm http 304 http://registry.npmjs.org/methods/0.0.1
npm http GET http://registry.npmjs.org/readable-stream
npm http GET http://registry.npmjs.org/stream-counter
npm http 200 http://registry.npmjs.org/stream-counter
npm http GET http://registry.npmjs.org/stream-counter/-/stream-counter-0.2.0.tgz
npm ERR! fetch failed http://registry.npmjs.org/stream-counter/-/stream-counter-0.2.0.tgz
npm http GET http://registry.npmjs.org/readable-stream
npm http GET http://registry.npmjs.org/stream-counter/-/stream-counter-0.2.0.tgz
npm http 200 http://registry.npmjs.org/stream-counter/-/stream-counter-0.2.0.tgz
npm http GET http://registry.npmjs.org/readable-stream
npm ERR! Error: connect ECONNREFUSED
npm ERR!     at exports._errnoException (util.js:677:11)
npm ERR!     at Object.afterConnect [as oncomplete] (net.js:944:19)
npm ERR!  { [Error: connect ECONNREFUSED]
npm ERR!   stack: 'Error: connect ECONNREFUSED\n    at exports._errnoException (util.js:677:11)\n    at Object.afterConnect [as oncomplete] (net.js:944:19)',
npm ERR!   code: 'ECONNREFUSED',
npm ERR!   errno: 'ECONNREFUSED',
npm ERR!   syscall: 'connect' }
npm ERR! 
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly.  See: 'npm help config'

npm ERR! System Linux 3.8.0-32-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "express"
npm ERR! cwd /home/nathaniel/node/nodetest1
npm ERR! node -v v0.11.9-pre
npm ERR! npm -v 1.3.13
npm ERR! syscall connect
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! stack Error: connect ECONNREFUSED
npm ERR! stack     at exports._errnoException (util.js:677:11)
npm ERR! stack     at Object.afterConnect [as oncomplete] (net.js:944:19)
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/nathaniel/node/nodetest1/npm-debug.log
npm ERR! not ok code 0
nathaniel@nathaniel-Satellite-C875:~/node/nodetest1$ sudo npm install express
npm http GET http://registry.npmjs.org/express/3.4.4
npm http GET http://registry.npmjs.org/express/3.4.4
npm http 304 http://registry.npmjs.org/express/3.4.4
npm http GET http://registry.npmjs.org/connect/2.11.0
npm http GET http://registry.npmjs.org/commander/1.3.2
npm http GET http://registry.npmjs.org/range-parser/0.0.4
npm http GET http://registry.npmjs.org/mkdirp/0.3.5
npm http GET http://registry.npmjs.org/cookie/0.1.0
npm http GET http://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET http://registry.npmjs.org/fresh/0.2.0
npm http GET http://registry.npmjs.org/methods/0.1.0
npm http GET http://registry.npmjs.org/send/0.1.4
npm http GET http://registry.npmjs.org/cookie-signature/1.0.1
npm http GET http://registry.npmjs.org/debug
npm http 304 http://registry.npmjs.org/connect/2.11.0
npm http 304 http://registry.npmjs.org/commander/1.3.2
npm http 304 http://registry.npmjs.org/methods/0.1.0
npm http 304 http://registry.npmjs.org/send/0.1.4
npm http 304 http://registry.npmjs.org/cookie/0.1.0
npm http GET http://registry.npmjs.org/range-parser/0.0.4
npm http GET http://registry.npmjs.org/mkdirp/0.3.5
npm http GET http://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET http://registry.npmjs.org/fresh/0.2.0
npm http GET http://registry.npmjs.org/debug
npm http GET http://registry.npmjs.org/cookie-signature/1.0.1
npm http 304 http://registry.npmjs.org/range-parser/0.0.4
npm http 304 http://registry.npmjs.org/fresh/0.2.0
npm http 304 http://registry.npmjs.org/mkdirp/0.3.5
npm http 304 http://registry.npmjs.org/buffer-crc32/0.2.1
npm http 304 http://registry.npmjs.org/debug
npm http GET http://registry.npmjs.org/cookie-signature/1.0.1
npm http 304 http://registry.npmjs.org/cookie-signature/1.0.1
npm http GET http://registry.npmjs.org/mime
npm http GET http://registry.npmjs.org/keypress
npm http GET http://registry.npmjs.org/pause/0.0.1
npm http GET http://registry.npmjs.org/uid2/0.0.3
npm http GET http://registry.npmjs.org/methods/0.0.1
npm http GET http://registry.npmjs.org/raw-body/0.0.3
npm http GET http://registry.npmjs.org/negotiator/0.3.0
npm http GET http://registry.npmjs.org/multiparty/2.2.0
npm http GET http://registry.npmjs.org/qs/0.6.5
npm http GET http://registry.npmjs.org/bytes/0.2.1
npm http 304 http://registry.npmjs.org/mime
npm http 304 http://registry.npmjs.org/raw-body/0.0.3
npm http 304 http://registry.npmjs.org/methods/0.0.1
npm http 304 http://registry.npmjs.org/uid2/0.0.3
npm http 304 http://registry.npmjs.org/qs/0.6.5
npm http 304 http://registry.npmjs.org/bytes/0.2.1
npm http GET http://registry.npmjs.org/keypress
npm http GET http://registry.npmjs.org/pause/0.0.1
npm http GET http://registry.npmjs.org/multiparty/2.2.0
npm http GET http://registry.npmjs.org/negotiator/0.3.0
npm http GET http://registry.npmjs.org/keypress
npm http GET http://registry.npmjs.org/pause/0.0.1
npm http GET http://registry.npmjs.org/multiparty/2.2.0
npm http GET http://registry.npmjs.org/negotiator/0.3.0
npm http 304 http://registry.npmjs.org/pause/0.0.1
npm http 304 http://registry.npmjs.org/multiparty/2.2.0
npm http GET http://registry.npmjs.org/readable-stream
npm http GET http://registry.npmjs.org/stream-counter
npm http 304 http://registry.npmjs.org/stream-counter
npm http 200 http://registry.npmjs.org/readable-stream
npm http GET http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.9.tgz
npm ERR! fetch failed http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.9.tgz
npm http GET http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.9.tgz
npm http 200 http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.9.tgz
npm http GET http://registry.npmjs.org/core-util-is
npm http GET http://registry.npmjs.org/debuglog/0.0.2
npm http GET http://registry.npmjs.org/core-util-is
npm http GET http://registry.npmjs.org/debuglog/0.0.2
npm http GET http://registry.npmjs.org/debuglog/0.0.2
npm http GET http://registry.npmjs.org/core-util-is
npm http 200 http://registry.npmjs.org/debuglog/0.0.2
npm http GET http://registry.npmjs.org/debuglog/-/debuglog-0.0.2.tgz
npm http 200 http://registry.npmjs.org/core-util-is
npm http GET http://registry.npmjs.org/core-util-is/-/core-util-is-1.0.0.tgz
npm http 200 http://registry.npmjs.org/debuglog/-/debuglog-0.0.2.tgz
npm http 200 http://registry.npmjs.org/core-util-is/-/core-util-is-1.0.0.tgz
express@3.4.4 node_modules/express
├── methods@0.1.0
├── range-parser@0.0.4
├── cookie-signature@1.0.1
├── fresh@0.2.0
├── debug@0.7.3
├── buffer-crc32@0.2.1
├── cookie@0.1.0
├── mkdirp@0.3.5
├── send@0.1.4 (mime@1.2.11)
├── commander@1.3.2 (keypress@0.1.0)
└── connect@2.11.0 (methods@0.0.1, uid2@0.0.3, pause@0.0.1, raw-body@0.0.3, qs@0.6.5, bytes@0.2.1, negotiator@0.3.0, multiparty@2.2.0)
nathaniel@nathaniel-Satellite-C875:~/node/nodetest1$ sudo npm install
npm http GET http://registry.npmjs.org/mongodb/1.3.19
npm http GET http://registry.npmjs.org/monk/0.7.1
npm http GET http://registry.npmjs.org/jade
npm http 200 http://registry.npmjs.org/monk/0.7.1
npm http GET http://registry.npmjs.org/monk/-/monk-0.7.1.tgz
npm http 200 http://registry.npmjs.org/mongodb/1.3.19
npm http GET http://registry.npmjs.org/mongodb/-/mongodb-1.3.19.tgz
npm ERR! fetch failed http://registry.npmjs.org/monk/-/monk-0.7.1.tgz
npm http 200 http://registry.npmjs.org/mongodb/-/mongodb-1.3.19.tgz
npm http GET http://registry.npmjs.org/jade
npm http 304 http://registry.npmjs.org/jade
npm http GET http://registry.npmjs.org/monk/-/monk-0.7.1.tgz
npm http 200 http://registry.npmjs.org/monk/-/monk-0.7.1.tgz
npm http GET http://registry.npmjs.org/mongoskin/0.4.4
npm http GET http://registry.npmjs.org/debug
npm http GET http://registry.npmjs.org/bson/0.2.2
npm http GET http://registry.npmjs.org/kerberos/0.0.3
npm http GET http://registry.npmjs.org/character-parser/1.2.0
npm http GET http://registry.npmjs.org/commander/2.0.0
npm http GET http://registry.npmjs.org/mkdirp
npm http GET http://registry.npmjs.org/transformers/2.1.0
npm http GET http://registry.npmjs.org/monocle/1.1.50
npm http GET http://registry.npmjs.org/with
npm http GET http://registry.npmjs.org/constantinople
npm http 200 http://registry.npmjs.org/mongoskin/0.4.4
npm http GET http://registry.npmjs.org/mongoskin/-/mongoskin-0.4.4.tgz
npm http 200 http://registry.npmjs.org/kerberos/0.0.3
npm http GET http://registry.npmjs.org/kerberos/-/kerberos-0.0.3.tgz
npm http 304 http://registry.npmjs.org/commander/2.0.0
npm http 304 http://registry.npmjs.org/transformers/2.1.0
npm http 304 http://registry.npmjs.org/monocle/1.1.50
npm http 200 http://registry.npmjs.org/mongoskin/-/mongoskin-0.4.4.tgz
npm ERR! fetch failed http://registry.npmjs.org/kerberos/-/kerberos-0.0.3.tgz
npm http GET http://registry.npmjs.org/debug
npm http GET http://registry.npmjs.org/bson/0.2.2
npm http GET http://registry.npmjs.org/character-parser/1.2.0
npm http GET http://registry.npmjs.org/mkdirp
npm http GET http://registry.npmjs.org/with
npm http GET http://registry.npmjs.org/constantinople
npm http 200 http://registry.npmjs.org/bson/0.2.2
npm http GET http://registry.npmjs.org/bson/-/bson-0.2.2.tgz
npm http GET http://registry.npmjs.org/kerberos/-/kerberos-0.0.3.tgz
npm http 304 http://registry.npmjs.org/constantinople
npm http 304 http://registry.npmjs.org/with
npm http 200 http://registry.npmjs.org/bson/-/bson-0.2.2.tgz
npm http 200 http://registry.npmjs.org/kerberos/-/kerberos-0.0.3.tgz

> kerberos@0.0.3 install /home/nathaniel/node/nodetest1/node_modules/mongodb/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)


> bson@0.2.2 install /home/nathaniel/node/nodetest1/node_modules/mongodb/node_modules/bson
> (node-gyp rebuild 2> builderror.log) || (exit 0)

npm http GET http://registry.npmjs.org/debug
npm http GET http://registry.npmjs.org/character-parser/1.2.0
npm http GET http://registry.npmjs.org/mkdirp
npm http 304 http://registry.npmjs.org/debug
npm http GET http://registry.npmjs.org/mongodb
npm http 200 http://registry.npmjs.org/character-parser/1.2.0
npm http GET http://registry.npmjs.org/character-parser/-/character-parser-1.2.0.tgz
npm http 200 http://registry.npmjs.org/character-parser/-/character-parser-1.2.0.tgz
npm http GET http://registry.npmjs.org/uglify-js/2.4.0
npm http GET http://registry.npmjs.org/uglify-js
npm http GET http://registry.npmjs.org/promise
npm http GET http://registry.npmjs.org/css
npm http GET http://registry.npmjs.org/uglify-js
npm http GET http://registry.npmjs.org/readdirp
npm http 200 http://registry.npmjs.org/readdirp
npm http GET http://registry.npmjs.org/readdirp/-/readdirp-0.2.5.tgz
npm ERR! fetch failed http://registry.npmjs.org/readdirp/-/readdirp-0.2.5.tgz
npm http 200 http://registry.npmjs.org/uglify-js
npm http GET http://registry.npmjs.org/uglify-js/-/uglify-js-2.4.2.tgz
npm ERR! fetch failed http://registry.npmjs.org/uglify-js/-/uglify-js-2.4.2.tgz
npm http GET http://registry.npmjs.org/mongodb
npm http GET http://registry.npmjs.org/uglify-js/2.4.0
npm http GET http://registry.npmjs.org/css
npm http GET http://registry.npmjs.org/uglify-js
npm http GET http://registry.npmjs.org/promise
npm http 200 http://registry.npmjs.org/css
npm http 200 http://registry.npmjs.org/promise
npm http GET http://registry.npmjs.org/css/-/css-1.0.8.tgz
npm http GET http://registry.npmjs.org/promise/-/promise-2.0.0.tgz
npm ERR! fetch failed http://registry.npmjs.org/css/-/css-1.0.8.tgz
npm http 200 http://registry.npmjs.org/promise/-/promise-2.0.0.tgz
npm http GET http://registry.npmjs.org/readdirp/-/readdirp-0.2.5.tgz
npm ERR! fetch failed http://registry.npmjs.org/readdirp/-/readdirp-0.2.5.tgz
npm http 200 http://registry.npmjs.org/mongodb
npm http GET http://registry.npmjs.org/mongodb/-/mongodb-1.1.11.tgz
npm http 200 http://registry.npmjs.org/mongodb/-/mongodb-1.1.11.tgz
npm http GET http://registry.npmjs.org/uglify-js/-/uglify-js-2.4.2.tgz
npm ERR! fetch failed http://registry.npmjs.org/uglify-js/-/uglify-js-2.4.2.tgz
npm http GET http://registry.npmjs.org/bson/0.1.5
npm http GET http://registry.npmjs.org/css/-/css-1.0.8.tgz
npm http 200 http://registry.npmjs.org/css/-/css-1.0.8.tgz
npm http GET http://registry.npmjs.org/bson/0.1.5
npm http 200 http://registry.npmjs.org/bson/0.1.5
npm http GET http://registry.npmjs.org/bson/-/bson-0.1.5.tgz
npm http 200 http://registry.npmjs.org/bson/-/bson-0.1.5.tgz

> bson@0.1.5 install /home/nathaniel/node/nodetest1/node_modules/monk/node_modules/mongoskin/node_modules/mongodb/node_modules/bson
> node install.js || (exit 0)

================================================================================
=                                                                              =
=  Attempting to build bson c++ extension                                      =
=   Windows: no build will be attempted as binaries are prepackaged            =
=   Unix: on failure the package will still install without the C++ extension  =
=                                                                              =
================================================================================
node-gyp clean
node-gyp configure build
gyp ERR! configure error 
gyp ERR! stack Error: "pre" versions of node cannot be installed, use the --nodedir flag instead
gyp ERR! stack     at install (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:65:16)
gyp ERR! stack     at Object.self.commands.(anonymous function) [as install] (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:66:37)
gyp ERR! stack     at getNodeDir (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:271:20)
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:112:9
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:659:7)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:106:17)
gyp ERR! stack     at maybeClose (child_process.js:773:16)
gyp ERR! stack     at Socket.<anonymous> (child_process.js:986:11)
gyp ERR! stack     at Socket.EventEmitter.emit (events.js:103:17)
gyp ERR! stack     at Pipe.close (net.js:458:12)
gyp ERR! System Linux 3.8.0-32-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /home/nathaniel/node/nodetest1/node_modules/monk/node_modules/mongoskin/node_modules/mongodb/node_modules/bson
gyp ERR! node -v v0.11.9-pre
gyp ERR! node-gyp -v v0.11.0
gyp ERR! not ok 
make: *** [node_gyp] Error 1
child process exited with code 2
npm http GET http://registry.npmjs.org/uglify-js/2.4.0
npm http GET http://registry.npmjs.org/uglify-js
npm ERR! Error: connect ECONNREFUSED
npm ERR!     at exports._errnoException (util.js:677:11)
npm ERR!     at Object.afterConnect [as oncomplete] (net.js:944:19)
npm ERR!  { [Error: connect ECONNREFUSED]
npm ERR!   stack: 'Error: connect ECONNREFUSED\n    at exports._errnoException (util.js:677:11)\n    at Object.afterConnect [as oncomplete] (net.js:944:19)',
npm ERR!   code: 'ECONNREFUSED',
npm ERR!   errno: 'ECONNREFUSED',
npm ERR!   syscall: 'connect' }
npm ERR! 
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly.  See: 'npm help config'

npm ERR! System Linux 3.8.0-32-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/nathaniel/node/nodetest1
npm ERR! node -v v0.11.9-pre
npm ERR! npm -v 1.3.13
npm ERR! syscall connect
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! stack Error: connect ECONNREFUSED
npm ERR! stack     at exports._errnoException (util.js:677:11)
npm ERR! stack     at Object.afterConnect [as oncomplete] (net.js:944:19)
npm http GET http://registry.npmjs.org/readdirp/-/readdirp-0.2.5.tgz
npm ERR! fetch failed http://registry.npmjs.org/readdirp/-/readdirp-0.2.5.tgz
npm http 200 http://registry.npmjs.org/uglify-js
npm http GET http://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz
npm ERR! fetch failed http://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz
npm http GET http://registry.npmjs.org/uglify-js/-/uglify-js-2.4.2.tgz
npm ERR! fetch failed http://registry.npmjs.org/uglify-js/-/uglify-js-2.4.2.tgz
npm http GET http://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz
npm http 200 http://registry.npmjs.org/uglify-js/-/uglify-js-2.2.5.tgz
npm http GET http://registry.npmjs.org/is-promise
npm http GET http://registry.npmjs.org/css-parse/1.0.4
npm http GET http://registry.npmjs.org/css-stringify/1.0.5
npm http GET http://registry.npmjs.org/source-map
npm http GET http://registry.npmjs.org/optimist
npm http 200 http://registry.npmjs.org/is-promise
npm http GET http://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm http 200 http://registry.npmjs.org/css-stringify/1.0.5
npm http GET http://registry.npmjs.org/css-stringify/-/css-stringify-1.0.5.tgz
npm http 200 http://registry.npmjs.org/css-parse/1.0.4
npm http GET http://registry.npmjs.org/css-parse/-/css-parse-1.0.4.tgz
npm ERR! fetch failed http://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm ERR! fetch failed http://registry.npmjs.org/css-parse/-/css-parse-1.0.4.tgz
npm http 200 http://registry.npmjs.org/css-stringify/-/css-stringify-1.0.5.tgz
npm http 200 http://registry.npmjs.org/optimist
npm http GET http://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz
npm http 200 http://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz
npm http GET http://registry.npmjs.org/source-map
npm http GET http://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm http GET http://registry.npmjs.org/css-parse/-/css-parse-1.0.4.tgz
npm ERR! fetch failed http://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm ERR! fetch failed http://registry.npmjs.org/css-parse/-/css-parse-1.0.4.tgz
npm http GET http://registry.npmjs.org/source-map
npm http GET http://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm http GET http://registry.npmjs.org/css-parse/-/css-parse-1.0.4.tgz
npm ERR! fetch failed http://registry.npmjs.org/css-parse/-/css-parse-1.0.4.tgz
npm http 200 http://registry.npmjs.org/is-promise/-/is-promise-1.0.0.tgz
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/nathaniel/node/nodetest1/npm-debug.log
npm ERR! not ok code 0


Thanks for any and all help!

the registry was done, should work now.
(check http://status.npmjs.org/ if that happens again)

I'm still having problems:

npm ERR! registry error parsing json
...
npm ERR! SyntaxError: Unexpected token
npm ERR!     at Object.parse (native)
npm ERR!     at RegClient.<anonymous> (/usr/local/node/node-v0.11.8/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:238:23)
npm ERR!     at Request.self.callback (/usr/local/node/node-v0.11.8/lib/node_modules/npm/node_modules/request/request.js:129:22)
npm ERR!     at Request.EventEmitter.emit (events.js:106:17)
npm ERR!     at Request.<anonymous> (/usr/local/node/node-v0.11.8/lib/node_modules/npm/node_modules/request/request.js:873:14)
npm ERR!     at Request.EventEmitter.emit (events.js:125:20)
npm ERR!     at IncomingMessage.<anonymous> (/usr/local/node/node-v0.11.8/lib/node_modules/npm/node_modules/request/request.js:824:12)
npm ERR!     at IncomingMessage.EventEmitter.emit (events.js:125:20)
npm ERR!     at _stream_readable.js:896:16
npm ERR!     at process._tickCallback (node.js:311:11)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

Trying to install bower:

npm install -g bower

NWitmer commented Nov 5, 2013

Worked just fine for me a moment ago. It felt so great seeing "Welcome to Express" on my screen for the first time!

Yup, it's working for me now too.

jsupraja commented Nov 6, 2013

Hi. I get this error too. In addition to 'Unexpected token <'.This appears to come from the module 'ronn'. Here is my error log:

npm ERR! registry error parsing json
npm ERR! SyntaxError: Unexpected token <
npm ERR! <!DOCTYPE html>
npm ERR! <html lang="en">
npm ERR! <head>
npm ERR!   <meta charset="utf-8">
npm ERR!   <title>ronn</title>
npm ERR!   <link rel="canonical" href="https://npmjs.org/package/ronn">
npm ERR!   <link type="text/css" rel="stylesheet" media="all"
npm ERR!     href="/static/normalize.css">
npm ERR!   <link type="text/css" rel="stylesheet" media="all"
npm ERR!     href="/stylus/index.css">
npm ERR!   <link type="text/css" rel="stylesheet" media="all"
npm ERR!     href="/static/sh.css">
npm ERR!   <link rel="search" type="application/opensearchdescription+xml"
npm ERR!     href="/static/opensearch.xml" title="Search Packages" />
npm ERR! <script>(function(){
npm ERR! if (location.pathname === '/') {
npm ERR! var m = location.hash.match(/^#\/[^\/]*$/)
npm ERR! if (m) location.replace('/package' + m[0].substr(1))
npm ERR! }})()</script>
npm ERR! <body>
npm ERR!   <div id="wrap"><div id="content">
npm ERR!     <nav>
npm ERR!   <ul>
npm ERR!     <li class="home">
npm ERR!       <a href="http://nodejs.org/">Node.js Home</a>
npm ERR!     </li>
npm ERR!     <li class="download">
npm ERR!       <a href="http://nodejs.org/download/">Download</a>
npm ERR!     </li>
npm ERR!     <li class="about">
npm ERR!       <a href="http://nodejs.org/about/">About</a>
npm ERR!     </li>
npm ERR!     <li class="npm current">
npm ERR!       <a href="/">npm Registry</a>
npm ERR!     </li>
npm ERR!     <li class="docs">
npm ERR!       <a href="http://nodejs.org/api/">Docs</a>
npm ERR!     </li>
npm ERR!     <li class="blog">
npm ERR!       <a href="http://blog.nodejs.org/">Blog</a>
npm ERR!     </li>
npm ERR!     <li class="community">
npm ERR!       <a href="http://nodejs.org/community/">Community</a>
npm ERR!     </li>
npm ERR!     <li class="logos">
npm ERR!       <a href="http://nodejs.org/logos/">Logos</a>
npm ERR!     </li>
npm ERR!     <li class="jobs">
npm ERR!       <a href="http://jobs.nodejs.org/">Jobs</a>
npm ERR!     </li>
npm ERR!   </ul>
npm ERR! </nav>
npm ERR! 
npm ERR!     <aside class="login">
npm ERR!   
npm ERR!     <div class="user profile">
npm ERR!       <img src="https://secure.gravatar.com/avatar/avatar.jpg?s=100&d=mm" class="avatar-medium"> <a href=/signup>Create Account</a> | <a href=/login>Login</a>
npm ERR!     </div>
npm ERR!     
npm ERR! </aside>
npm ERR! 
npm ERR! 
npm ERR!     <div id="page">
npm ERR!       <header>
npm ERR!         <form action="/search" method="get">
npm ERR!           
npm ERR!           <input name=q type="search" placeholder="Search Packages" tabindex="1">
npm ERR!           
npm ERR!         </form>
npm ERR!         <h1>
npm ERR!           <a id="npm-logo" href="/">
npm ERR!             <img src="/static/npm.png" alt="npm">
npm ERR!           </a>
npm ERR!         </h1>
npm ERR!       </header>
npm ERR! 
npm ERR! 
npm ERR! 
npm ERR! 
npm ERR!   <div id="package">
npm ERR!     <h1>ronn</h1>
npm ERR! 
npm ERR!     
npm ERR! 
npm ERR!     
npm ERR!       <p class="description">markdown to roff and html converter</p>
npm ERR!     
npm ERR! 
npm ERR!     <pre class="sh"><code>npm install ronn</code></pre>
npm ERR! 
npm ERR!     
npm ERR!   <table class="downloads">
npm ERR!     
npm ERR!     <tr><td>853</td><td> downloads in the last week</td></tr>
npm ERR!   </table>
npm ERR! 
npm ERR! 
npm ERR! 
npm ERR!     <table class="metadata">
npm ERR!       
npm ERR!       <tr>
npm ERR!         <th>Maintainers</th>
npm ERR!         <td>
npm ERR!         
npm ERR!           <div class="user">
npm ERR!           <a class="username" href="/~kapouer"><img src="https://secure.gravatar.com/avatar/1a211d6ec19ccd9c41819fc05fdc41ab?s=50&amp;d=retro" class="avatar">
npm ERR!             kapouer</a>
npm ERR!           </div>
npm ERR!           
npm ERR!         </td>
npm ERR!       </tr>
npm ERR!       
npm ERR!       <tr>
npm ERR!         <th>Version</th>
npm ERR!         <td>
npm ERR!           <b>
npm ERR!           0.4.0
npm ERR!           </b>
npm ERR!           
npm ERR!           last updated
npm ERR!           8 months ago
npm ERR!           
npm ERR!         </td>
npm ERR!       </tr>
npm ERR!       
npm ERR!       <tr>
npm ERR!         <th>License</th>
npm ERR!         <td>
npm ERR!             <a href="http://www.opensource.org/licenses/mit-license.php">MIT</a>
npm ERR!         </td>
npm ERR!       </tr>
npm ERR!       
npm ERR!       
npm ERR!       <tr>
npm ERR!         <th>Keywords</th>
npm ERR!         <td><a href="/browse/keyword/markdown">markdown</a>, <a href="/browse/keyword/roff">roff</a>, <a href="/browse/keyword/man">man</a>, <a href="/browse/keyword/documentation">documentation</a></td>
npm ERR!       </tr>
npm ERR!       
npm ERR!       
npm ERR!       
npm ERR!       
npm ERR!       <tr>
npm ERR!         
npm ERR!         <th>Dependencies</th>
npm ERR!         <td>
npm ERR!           
npm ERR!               <a href="/package/opts">opts</a>, 
npm ERR!               <a href="/package/markdown">markdown</a>
npm ERR!         </td>
npm ERR!       </tr>
npm ERR!       
npm ERR!       <tr>
npm ERR!         <th>Dependents</th>
npm ERR!         <td>
npm ERR!         <a href="/package/gimme-assets">gimme-assets</a>
npm ERR!         </td>
npm ERR!       </tr>
npm ERR!       
npm ERR! 
npm ERR!       
npm ERR!     </table>
npm ERR! 
npm ERR!     <div class="details">
npm ERR!       <ul class="toc">
npm ERR!         
npm ERR!         <li><a href="#readme">Read Me</a></li>
npm ERR!         
npm ERR!       </ul>
npm ERR! 
npm ERR!       
npm ERR!       <section id="readme">
npm ERR!       <h1>ronnjs(1) -- markdown to roff/html converter</h1>
npm ERR! <h2>Synopsis</h2>
npm ERR! <p>Javascript port of <a href="http://github.com/rtomayko/ronn">ronn</a>, using <a href="http://github.com/evilstreak/markdown-js">markdown-js</a> to produce roff man pages.
npm ERR! Not fully compatible with <a href="http://github.com/rtomayko/ronn">ronn</a>, although it aims to be, wherever possible.</p>
npm ERR! <h2>Usage</h2>
npm ERR! <p>This outputs doc.roff from a markdown file :</p>
npm ERR! <pre><code>ronn.js --build --roff doc.md</code></pre>
npm ERR! <p>Command-line options are listed with --help</p>
npm ERR! <p>When file argument is omitted, ronn.js reads standard input.</p>
npm ERR! <h2>How it works ?</h2>
npm ERR! <p><a href="http://github.com/evilstreak/markdown-js">markdown-js</a> parses markdown text to a document model, which in turn is
npm ERR! used to ouput a man page.</p>
npm ERR! 
npm ERR!       </section>
npm ERR!       
npm ERR!     </div>
npm ERR!   </div>
npm ERR! 
npm ERR!     </div>
npm ERR!   </div></div>
npm ERR! 
npm ERR! <div id="footer">
npm ERR!   <a class="footlogo" href="/">npm</a>
npm ERR! 
npm ERR!   <ul>
npm ERR!     <li><a href="/">npm Registry</a>
npm ERR!     <li><a href="/doc/">Documentation</a>
npm ERR!     <li><a href="https://raw.github.com/isaacs/npm/master/LICENSE">License</a>
npm ERR!     <li><a href="https://github.com/isaacs/npm-www/issues">Website Issues</a>
npm ERR!     <li><a href="http://nodejs.org/">Node.js Home</a>
npm ERR!     <li><a href="http://blog.nodejs.org/">Blog</a>
npm ERR!   </ul>
npm ERR! 
npm ERR!   <div class="poweredby">
npm ERR!     <h2>Powered By:</h2>
npm ERR!     <ul>
npm ERR!       <li class="joyent">
npm ERR!         <a href="http://joyent.com/"><img src="/static/joyent-footer.png"
npm ERR!         alt="Joyent"
npm ERR!         height=32 width=88></a>
npm ERR!       <li class="nodejitsu">
npm ERR!         <a href="http://nodejitsu.com/"><img src="/static/nodejitsu-footer.png"
npm ERR!         alt="Nodejitsu"
npm ERR!         height=32 width=115></a>
npm ERR!     </ul>
npm ERR!   </div>
npm ERR! </div>
npm ERR! 
npm ERR! <small class="heart">npm loves you</small>
npm ERR! 
npm ERR! <script src="/static/sh_main.js"></script>
npm ERR! <script src="/static/sh_javascript.min.js"></script>
npm ERR! <script>highlight(undefined, undefined, 'pre');</script>
npm ERR! <script>
npm ERR! window._gaq = [['_setAccount', 'UA-10874194-2'], ['_trackPageview']]
npm ERR! ;(function(d, t) {
npm ERR!   var g = d.createElement(t)
npm ERR!   var s = d.getElementsByTagName(t)[0]
npm ERR!   g.src = '//www.google-analytics.com/ga.js'
npm ERR!   s.parentNode.insertBefore(g, s)
npm ERR! }(document, 'script'))
npm ERR! </script>
npm ERR! <!-- pid=8026 worker=13 ec98d620151634eb4f8483488ae07698589ce38c https://npmjs.org:10013 -->
npm ERR! 
npm ERR! 

Kindly provide some feedback. thanks.

Contributor

luk- commented Nov 6, 2013

@jsupraja are you installing with --registry or something? What command are you using to install and what do you have in your .npmrc?

jsupraja commented Nov 6, 2013

@luk- I simply issued:

sudo make install.

But I identified the problem - ronn was being used to generate some docs. i commented that out and npm was installed fine. But however, I'm not sure if npm is down at the moment? Because npm install issues a 404 server response. Also an 'UNexpected Token <'.

Member

timoxley commented Jan 8, 2014

@coolestusername looks likely this is related to the recent npm server glitches. Can you please try again and perhaps close this issue if it works?

#4430

domenic closed this Feb 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment