guileen/node-mongoskin — Issue #24: broken connection
Author: selead
Created: 2011-12-23 13:37:43+00:00
State: open

Hello, I have strange issue, which I can't track:

```
TypeError: Property '-1' of object is not a function
at EventEmitter. (~/node_modules/mongoskin/lib/mongoskin/db.js:219:36)
at EventEmitter.emit (events.js:88:20)
at ~/node_modules/mongoskin/lib/mongoskin/db.js:98:20
at ~/node_modules/mongoskin/lib/mongoskin/db.js:111:9
at ~/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/db.js:158:16
at [object Object]. (~/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/server.js:311:7)
at [object Object].emit (events.js:67:17)
at [object Object]. (~/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:99:15)
at [object Object].emit (events.js:70:17)
at Socket. (~/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/connection.js:403:10)
```

mongoskin version: 0.2.2
node : 0.6.6
mongo: 2.0.1

Mac OS X 10.6.8