mubsub icon indicating copy to clipboard operation
mubsub copied to clipboard

Issues on starting up

Open dkulichkin opened this issue 10 years ago • 0 comments

I try to leverage the library in conjunction with mongoose.

For the non-existing collection I get: Caught exception: TypeError: Cannot read property '_id' of undefined

When interacting with it subsequently (when collection became created) thereby:

  • when using newly created separate connection for mubsub:
Caught exception: MongoError: Unable to execute query: error processing query: ns=phone_tokens.socketmessages limit=0 skip=0
Tree: _id $gt ObjectId('55e719aa4bd427be722898e7')
Sort: {}
Proj: {}
 tailable cursor requested on non capped collection

where 55e719aa4bd427be722898e7 is dummy record's id, so I persuaded it exists

  • when using existing connection:
Caught exception: MongoError: Tailable cursor doesn't support sorting

All in all looks like I do something wrong because it fails on start and works for other people, but can't figure out what exactly.

Has anyone succeeded with running it with mongoose?

dkulichkin avatar Sep 02 '15 15:09 dkulichkin