invertase / flutterfire_cli

A CLI to help with using FlutterFire in your Flutter applications.
Apache License 2.0
171 stars 47 forks source link

[bug]: I can't move with the arrows to choose the options #104

Closed exedemaio closed 11 months ago

exedemaio commented 2 years ago

Is there an existing issue for this?

CLI Version

0.2.4

Firebase Tools version

11.8.0

Flutter Doctor Output

**[✓] Flutter (Channel stable, 3.3.0, on macOS 12.4 21F79 darwin-x64, locale es-419) • Flutter version 3.3.0 on channel stable at /Users/exedemaio/Development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision ffccd96b62 (6 days ago), 2022-08-29 17:28:57 -0700 • Engine revision 5e9e0e0aa8 • Dart version 2.18.0 • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2) • Android SDK at /Users/exedemaio/Library/Android/sdk • Platform android-31, build-tools 30.0.2 • ANDROID_HOME = /Users/exedemaio/Library/Android/sdk • Java binary at: /Users/exedemaio/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8193401/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 13F100 • CocoaPods version 1.11.2

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] Android Studio (version 2021.1) • Android Studio at /Users/exedemaio/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8193401/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] Android Studio (version 2020.3) • Android Studio at /Users/exedemaio/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7784292/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.70.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.46.0

[✓] Connected device (2 available) • macOS (desktop) • macos • darwin-x64 • macOS 12.4 21F79 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability • All required HTTP hosts are available

• No issues found!**

Description

I can't move with the arrows to choose the options. The selection with the space bar works but I can only choose the first option since I cannot move to others.

Steps to reproduce

  1. Run flutterfire configure
  2. I can't move

Expected behavior

When I run the command I want to be able to move around and choose the available options

Screenshots

No response

Additional context and comments

No response

poster983 commented 1 year ago

Same Here! If I use the spacebar it just adds an extra line but wont move to the next step.

MeghaVenture commented 1 year ago

I have a similar issue - can't move (but also can't select the first option)

russellwheatley commented 1 year ago

If you have a long list of projects, the underlying Dart CLI tool we use isn't very good at handling it. A workaround for now is to specify the project with the argument --project=YOUR_PROJECT_ID.

MeghaVenture commented 1 year ago

If you have a long list of projects, the underlying Dart CLI tool we use isn't very good at handling it. A workaround for now is to specify the project with the argument --project=YOUR_PROJECT_ID.

This solved my issue in VS Code Terminal (the issue of not being able to move continued with gitbash in not being able to choose the platforms - did not try others).

russellwheatley commented 11 months ago

Closing out as specifying the project is a solution, the underlying Dart CLI tool we use has a problem with long lists unfortunately.