! functions: TypeError: body is not async iterable
at file:///D:/Source/challenges/jg/hack/public/main/functions/index.js:14654:33
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runFunction (C:\Users\Agone\AppData\Roaming\nvm\v17.2.0\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:565:9)
at async runHTTPS (C:\Users\Agone\AppData\Roaming\nvm\v17.2.0\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:591:5)
at async C:\Users\Agone\AppData\Roaming\nvm\v17.2.0\node_modules\firebase-tools\lib\emulator\functionsEmulatorRuntime.js:534:17
! Your function was killed because it raised an unhandled error.
I just realized I should have raised this issue in https://github.com/thepassle/astro-firebase but I guess I can keep this here anyway. Let me know if I should open it on that other repo, @thepassle .
This is a repost by @noga-dev at https://github.com/thepassle/astro-firebase-demo/issues/1
I'm just posting it in the correct repo:
I've also added an example here: https://github.com/dperolio/immerse-testing
It is using the example SSR Astro demo (https://github.com/withastro/astro/tree/latest/examples/ssr) with
astro-firebase
added. You can see this issue when you try to deploy to Firebase and then runfirebase functions:log