Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Problems when installing Express.js #2860

Closed
simonholmes opened this Issue · 1 comment

2 participants

@simonholmes

Installing Express.js into a directory I've hit a roadblock.

These are the commands that have been run:
$ sudo npm install -g express
$ sudo express --ejs
$ sudo npm install

It falls over at the third step, with the following output:
npm http GET https://registry.npmjs.org/express/3.0.0rc4
npm http 304 https://registry.npmjs.org/express/3.0.0rc4
npm http GET https://registry.npmjs.org/commander/0.6.1
npm http GET https://registry.npmjs.org/connect/2.4.4
npm http GET https://registry.npmjs.org/crc/0.2.0
npm http GET https://registry.npmjs.org/mkdirp/0.3.3
npm http GET https://registry.npmjs.org/fresh/0.1.0
npm http GET https://registry.npmjs.org/cookie/0.0.4
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/send/0.0.4
npm http GET https://registry.npmjs.org/methods/0.0.1
npm http 304 https://registry.npmjs.org/connect/2.4.4
npm http 304 https://registry.npmjs.org/commander/0.6.1
npm http 304 https://registry.npmjs.org/mkdirp/0.3.3
npm http 304 https://registry.npmjs.org/fresh/0.1.0
npm http 304 https://registry.npmjs.org/crc/0.2.0
npm http 304 https://registry.npmjs.org/cookie/0.0.4
npm http 304 https://registry.npmjs.org/range-parser/0.0.4
npm http 304 https://registry.npmjs.org/send/0.0.4
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/methods/0.0.1
npm http GET https://registry.npmjs.org/mime/1.2.6
npm http 304 https://registry.npmjs.org/mime/1.2.6
npm http GET https://registry.npmjs.org/qs/0.4.2
npm http GET https://registry.npmjs.org/bytes/0.1.0
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/formidable/1.0.11
npm http 304 https://registry.npmjs.org/qs/0.4.2
npm http 304 https://registry.npmjs.org/bytes/0.1.0
npm http 304 https://registry.npmjs.org/pause/0.0.1
npm http 304 https://registry.npmjs.org/formidable/1.0.11

npm ERR! Error: UNKNOWN, unknown error '../express/bin/express'
npm ERR! 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!
npm ERR! System Linux 3.2.0-24-generic
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /mnt/hgfs/WinLinShare/NodeTest/testpage-express
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.23
npm ERR! path ../express/bin/express
npm ERR! code UNKNOWN
npm ERR! message UNKNOWN, unknown error '../express/bin/express'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /mnt/hgfs/WinLinShare/NodeTest/testpage-express/npm-debug.log
npm not ok

Any ideas what might be up?

Thanks

@isaacs
Owner

Run sudo npm cache clean -f. Then upgrade to node 0.6.21 or 0.8.11. You are many versions behind, and this bug has since been fixed.

@isaacs isaacs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.