algolia / firestore-algolia-search

Apache License 2.0
108 stars 33 forks source link

Updated to mac Sonoma: issue with functions watching wrong directory #180

Closed dubitoergo closed 8 months ago

dubitoergo commented 8 months ago

After upgrading to Sonoma, when the algolia extension is enabled and I run the emulators locally, they override my functions watch directory with the cached extensions directory


functions: Watching "/Users/me/.cache/firebase/extensions/algolia/firestore-algolia-search@1.1.3/functions" for Cloud Functions...```
smomin commented 8 months ago

The extension project structure is provided by the Firebase team. Maybe open a ticket with the Firebase team.

benomatis commented 8 months ago

@dubitoergo I have just hit this error today in the firebase emulator, and in my case it was a problem with a misconfigured index file in the firebase/functions folder that exports all my functions, it had a line referring to a function that I deleted earlier, removing that line allowed the emulator to rebuild itself correctly without the error.

smomin commented 8 months ago

Thank you for providing your resolution.