You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[info]
[info] === Deploying to 'project_id'...
[info]
[info] i deploying firestore
[info] i firestore: deploying indexes...
[debug] [2025-01-13T14:58:39.744Z] TypeError: Cannot read properties of undefined (reading 'map')
at deployIndexes (<path_to_node_modules>/firebase-tools/lib/deploy/firestore/deploy.js:24:38)
at default_1 (<path_to_node_modules>/firebase-tools/lib/deploy/firestore/deploy.js:42:46)
at chain (<path_to_node_modules>/firebase-tools/lib/deploy/index.js:40:15)
at deploy (<path_to_node_modules>/firebase-tools/lib/deploy/index.js:101:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[error]
[error] Error: An unexpected error has occurred.
The text was updated successfully, but these errors were encountered:
Thanks for providing detailed steps to reproduce the issue as well as the error raised, @jmysliv! I'm able to replicate the error you encountered. Let me raise this to our engineering team.
[REQUIRED] Environment info
firebase-tools: 13.29.1
Platform: macOS
[REQUIRED] Test case
A firebase project with one default firestore database and one named firestore database.
[REQUIRED] Steps to reproduce
firebase init
firebase.json
as described here: https://firebase.google.com/docs/cli#firestore-multiple-dbsfirestore.indexes.json
: add some indexes, i.ex.[REQUIRED] Expected behavior
Indexes should be deployed for both databases.
[REQUIRED] Actual behavior
You will see the following logs:
The text was updated successfully, but these errors were encountered: