Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.

Issues on starting up #40

Open
dkulichkin opened this issue Sep 2, 2015 · 0 comments
Open

Issues on starting up #40

dkulichkin opened this issue Sep 2, 2015 · 0 comments

Comments

@dkulichkin
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant