isaacs/npm — Issue #1918: Unknown socket.io
Author: akavlie
Created: 2011-12-22 07:39:17+00:00
State: open

Dutifully reporting an error I just got on `npm install`:

```
➜ subway git:(master) ✗ npm install
npm http GET https://registry.npmjs.org/connect-assets
npm http GET https://registry.npmjs.org/irc
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/jade
npm http GET https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/irc
npm http 304 https://registry.npmjs.org/connect-assets
npm http 304 https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/socket.io
npm http 304 https://registry.npmjs.org/jade
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/mkdirp/0.0.7
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/connect-file-cache/0.2.4
npm http GET https://registry.npmjs.org/mime/1.2.2
npm http GET https://registry.npmjs.org/snockets/1.3.3
npm http GET https://registry.npmjs.org/underscore/1.1.7
npm http GET https://registry.npmjs.org/socket.io-client/0.8.7
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/redis/0.6.7
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/connect
npm http 304 https://registry.npmjs.org/mkdirp/0.0.7
npm http 304 https://registry.npmjs.org/connect-file-cache/0.2.4
npm http GET https://registry.npmjs.org/connect/-/connect-1.8.3.tgz
npm http 304 https://registry.npmjs.org/mime/1.2.2
npm http 304 https://registry.npmjs.org/snockets/1.3.3
npm http 304 https://registry.npmjs.org/underscore/1.1.7
npm http 304 https://registry.npmjs.org/socket.io-client/0.8.7
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/redis/0.6.7
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/connect/-/connect-1.8.3.tgz
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.2.1.tgz
npm http GET https://registry.npmjs.org/commander/-/commander-0.2.1.tgz
npm ERR! error installing redis@0.6.7
npm ERR! error installing socket.io@0.8.7
npm ERR! error rolling back socket.io@0.8.7 Error: UNKNOWN, unknown error '/Users/akavlie/projects/subway/node_modules/socket.io'
npm ERR! Error: ENOENT, no such file or directory '/Users/akavlie/projects/subway/node_modules/socket.io/node_modules/redis/package.json'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/akavlie/projects/subway
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.0-beta-4
npm ERR! path /Users/akavlie/projects/subway/node_modules/socket.io/node_modules/redis/package.json
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/Users/akavlie/projects/subway/node_modules/socket.io/node_modules/redis/package.json'
npm http GET https://registry.npmjs.org/uglify-js/1.0.7
npm http GET https://registry.npmjs.org/dep-graph/1.0.1
npm http GET https://registry.npmjs.org/coffee-script
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.2.1.tgz
npm http 200 https://registry.npmjs.org/commander/-/commander-0.2.1.tgz
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/akavlie/projects/subway/npm-debug.log
npm not ok
```