Flutterfire just added a CLI for us to use, but I'm having a problem with the flutterfire configure command
. I keep getting this error:
i Found 0 Firebase projects. Selecting project liveasy-1. FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command. COMMAND: firebase --version ERROR: The FlutterFire CLI currently requires the official Firebase CLI to also be installed, see https://firebase.google.com/docs/cli#install_the_firebase_cli for how to install it.
Even though I've installed the Firebase CLI and can run firebase --version
without any issues. I installed the standalone binary and when that didn't work I installed it with npm as well. I can log in and see my projects list, but running flutterfire configure
seems to be an issue. I can't also access any Firebase commands in Visual Studio Code.
Am I supposed to add something to the PATH in environmental variables? I've already added the cache/bin/ where flutterfire resides, but I don't know how to do the same for Firebase.