8000 Error: The field 'strict' is not a valid collection option · Issue #119 · feathersjs/feathers-sync · GitHub
[go: up one dir, main page]

Skip to content

Error: The field 'strict' is not a valid collection option #119

@supermomme

Description

@supermomme

Steps to reproduce

I added the plugin like this:
app.configure(sync({ uri: app.get('mongodb') }))
Then I got this error:
error: The field 'strict' is not a valid collection option. Options: { capped: true, autoIndexId: true, size: 5242880, strict: false } {"name":"MongoError","note":"the autoIndexId option is deprecated and will be removed in a future release","ok":0,"errmsg":"The field 'strict' is not a valid collection option. Options: { capped: true, autoIndexId: true, size: 5242880, strict: false }","code":72,"codeName":"InvalidOptions"}

Expected behavior

Don't throw that error

Actual behavior

Throwed an error

System configuration

feathers-sync versions: 1.1.2
@feathersjs/feathers versions: 3.3.1

NodeJS version: node:10.9.0-alpine (Docker Image)

Operating System: Uuntu 18.04 (But it runs in docker)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0