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

Issues on starting up #40

@dkulichkin

Description

@dkulichkin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions