This repository was archived by the owner on Nov 6, 2019. It is now read-only.

Description
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?