这是indexloc提供的服务,不要输入任何密码
Skip to content

Emulator: Function 'executeFullIndexOperation is missing a trigger in extension.yaml #221

@benomatis

Description

@benomatis

When I start the firebase emulator, I get following errors:

Function 'executeFullIndexOperation is missing a trigger in extension.yaml. Please add one, as triggers defined in code are ignored.

...and further down...

✔  functions: Loaded functions definitions from source: executeIndexOperation, executeFullIndexOperation.
✔  functions[europe-central2-ext-firestore-algolia-search-executeIndexOperation]: firestore function initialized.
⚠  Unsupported function type on ext-firestore-algolia-search-executeFullIndexOperation. Expected either an httpsTrigger, eventTrigger, or blockingTrigger.
i  functions[europe-central2-ext-firestore-algolia-search-executeFullIndexOperation]: function ignored because the unknown emulator does not exist or is not running.

I did check your extension.yaml and indeed, it doesn't seem to have a trigger executeFullIndexOperation. Is this normal?

With this error I'm forced to turn off the extension in the emulator otherwise I document in the collection cannot be touched, I get unknown errors from firestore.

This is only happening in the emulator, I have the extension activated online, and it works perfectly.

Disabling Full Index isn't changing anything, I must exclude the extension when starting the emulator, otherwise I cannot use the app locally for anything that touches the collection the extension uses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions