firebase-tools
firebase-tools copied to clipboard
"firebase init" fails if storage is selected without a default project
[REQUIRED] Environment info
firebase-tools: 11.8.0
Platform: macOS
[REQUIRED] Test case
Initialize firebase selecting storage without a default project.
[REQUIRED] Steps to reproduce
- firebase init
- select "storage"
- select "Don't set up a default project"
- Error!!!
[REQUIRED] Expected behavior
Initialization should complete successfully. Maybe by skipping any calls to Cloud Storage if no default project option is selected.
[REQUIRED] Actual behavior
Initialization fails with error:
Error: Cloud resource location is not set for this project but the operation you are attempting to perform in Cloud Storage requires it. Please see this documentation for more details: https://firebase.google.com/docs/projects/locations