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
I'm getting there are 1 field overrides defined in your project that are not present in your firestore indexes file. To delete them, run this command with the --force flag. ? Would you like to delete these field overrides? Selecting no will continue the rest of the deployment. (y/N) prompt when deploying firebase app with --non-interactive flag and indexes definition in firestore.indexes.json is different from what is deployed.
[REQUIRED] Steps to reproduce
Have you app with indexes deployed
Add index / field override to you deployed app via firebase console UI and do not add it into you project's firestore.indexes.json file.
Deploy an application with --non-interactive flag
[REQUIRED] Expected behavior
Deployment will fail.
[REQUIRED] Actual behavior
there are 1 field overrides defined in your project that are not present in your firestore indexes file. To delete them, run this command with the --force flag. ? Would you like to delete these field overrides? Selecting no will continue the rest of the deployment. (y/N) prompt is displayed.
The text was updated successfully, but these errors were encountered:
Hi @nikita-mishchenko, thanks for reporting this issue. I was able to reproduce this. Passing the --non-interactive should error out if the command raises any prompts. Let me raise this to our team so they can take a look.
[REQUIRED] Environment info
firebase-tools: 12.7.0
Platform: macOS
[REQUIRED] Test case
I'm getting
there are 1 field overrides defined in your project that are not present in your firestore indexes file. To delete them, run this command with the --force flag. ? Would you like to delete these field overrides? Selecting no will continue the rest of the deployment. (y/N)
prompt when deploying firebase app with--non-interactive
flag and indexes definition infirestore.indexes.json
is different from what is deployed.[REQUIRED] Steps to reproduce
firestore.indexes.json
file.--non-interactive
flag[REQUIRED] Expected behavior
Deployment will fail.
[REQUIRED] Actual behavior
there are 1 field overrides defined in your project that are not present in your firestore indexes file. To delete them, run this command with the --force flag. ? Would you like to delete these field overrides? Selecting no will continue the rest of the deployment. (y/N)
prompt is displayed.The text was updated successfully, but these errors were encountered: