flutterfire_cli icon indicating copy to clipboard operation
flutterfire_cli copied to clipboard

flutterfire cli not working from VS Code terminal

Open mueen-memon opened this issue 3 years ago • 2 comments

I have added the flutterfire cli path into the environment variables on Windows. Still VS Code terminal does not know flutterfire command. Even though it is working in windows cmd.

mueen-memon avatar Feb 03 '22 12:02 mueen-memon

Try flutterfire.bat instead of flutterfire

Eg: flutterfire.bat configure

dnadawa avatar Feb 03 '22 21:02 dnadawa

I have the same issue. I added path to environment variable as well, but still getting flutterfire cli not working. Tried .bat also but didn't work

anilsapkota avatar Feb 28 '22 04:02 anilsapkota

I initially had the same problems. Neither flutterfire nor flutterfire.bat worked, when freshly installed the first time + setting up extra PATH directories.

Eventually, after a system reboot and doing:

  • dart pub global activate flutterfire_cli
  • flutterfire.bat

... it just worked.

In a linux-like environment (ex: git-bash), adding an alias helps too. There are multiple ways to accomplish this. One of them is:

  • alias flutterfire=flutterfire.bat

starlocke avatar Jun 23 '23 00:06 starlocke

I initially had the same problems. Neither flutterfire nor flutterfire.bat worked, when freshly installed the first time + setting up extra PATH directories.

Eventually, after a system reboot and doing:

  • dart pub global activate flutterfire_cli
  • flutterfire.bat

... it just worked.

In a linux-like environment (ex: git-bash), adding an alias helps too. There are multiple ways to accomplish this. One of them is:

  • alias flutterfire=flutterfire.bat

This worked for me 05-01-24 in visual studio code on windows. Thanks!

thecannoli avatar Jan 15 '24 22:01 thecannoli