-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
[REQUIRED] Environment info
firebase-tools: 11.12.0
Platform: MacOS Monterey 12.6
[REQUIRED] Test case
Project creation from scratch
[REQUIRED] Steps to reproduce
- Launch command
firebase init - Hit "Enter" instead of "Space" on feature selection
- The CLI exits and deletes firebase-debug.log
test% ls
firebase-debug.log
test% firebase init
######## #### ######## ######## ######## ### ###### ########
## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ######
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ########
You're about to initialize a Firebase project in this directory:
/Users/deleplace/Documents/2022/09/30/test
? Which Firebase features do you want to set up for this directory? Press Space to select features, then Enter to confirm your choices.
Error: Must select at least one feature. Use SPACEBAR to select features, or specify a feature by running firebase init [feature_name]
Having trouble? Try firebase [command] --help
test% ls
test%
[REQUIRED] Expected behavior
Please prompt me again for features selection, instead of aborting.
The logs loss problem is #5231
[REQUIRED] Actual behavior
The process gave up too fast (exits with error code), when I naively hit Enter to select a feature.
diktamxx