'flutterfire' is not recognized as the name of a cmdlet, function, script SOLVED Flutter Firebase

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone in this video I'll be showing you how  to solve the error flutter fire is not organized   as an internal or external command operable  program or batch file so you may be getting this   error in command prompt or your Android Studio or  in Visual Studio code but the solution is going   to be same in all cases so let's get started so  the first thing what you have to do is we need to   have the flutter fire CLI installed in our system  so for this just search for Firebase CLI flutter   you'll be getting the first link over here just  click that and in this we'll be having two ways   to install one is directly by installing Firebase  CLI so if you go to that particular first link you   will just click on open this particular Firebase  CLI if you haven't already done so make sure you   use the Firebase CLI installed on your machine if  not make sure you have node js on your machine and   Firebase CLI by running the command so we have  two ways one is directly installing Firebase CLI   by going to this particular link this particular  link Firebase CLI and we can just click on Windows   and in the windows here we'll be having that  download CLI binary for Windows we can click   that and download will automatically get started  and we need to install this so this is one way   of installing I have already installed this  so I will not be doing it again so after this   particular thing has downloaded you need to just  click on install so this is one way of doing it   and another way is by running the command npm  installed hyphen G Firebase tools so you need   to run this particular command in your system  or you need to like download this particular   Firebase CLI and you need to install it on your  system so I hope you have done any of these two   ways because I have already done that so once  you have done that the next thing what it says   is we need to run this particular command which  is dot Pub Global activate flutter file CLI so   I'll just copy this now I will go to my Android  studio and let's paste this command and hit enter   okay so here you can see right so it has already  detected package flutter CLI is currently active   and it asks me to add this particular path so  it says me to add C users my username app data   local which is not on your path so you can fix it  by adding it in the systems environment variable   so what you can do is you can just copy this path  in our system environment variable so let's just   go to this folder okay so for this just go to this  PC let's just follow the instructions it's this PC   and local disk C users my system name and here you  will be having the folder named as app data which   is a hidden folder so it will not be visible by  default but you need to go to view and you know   check this hidden items so if I uncheck It  app data will be invisible because it is a   hidden file folder so you need to just click  on hidden item okay this option so app data   inside that I'm having local I'm having Pub  scroll down Pub and inside that cache and Bin   so here you can see that I'm having flutter fire  over here so just copy this path so you will be   getting this flutter fire only after you have  installed Firebase CLI or flutter file CLI which   I told you can do this by this command or you  can like have this binary for Windows so click   this and you'll be getting that link so you need  to do these two steps to get the flutter fire in   our folder okay otherwise you won't be getting  this so just copy this full path now go to search   and type environment you'll be having the first  link as edit the system like this one so if I type   environment you'll be having the first thing as  edit the system environment variables just click   on open and in the system properties you'll be  having environment variables click on that and   in this environment variables you need to go to  path under system variables just click on edit and   just click on new and paste this particular path  and just click on OK everywhere okay you need to   be careful with the path till bin okay now if you  have your command prompt or Visual Studio code or   Android Studio open just restart everything just  close it close it and reopen it again yeah so I'll   just type CMD again and Android Studio if you are  using visual studio code no problem you can just   open it again so after this we are done with this  particular command next one is going to be flutter   fire configure so if we run this command and if  we aren't getting any errors which means flutter   fire has been successfully configured the paths  have been successfully configured in our system   and this particular flutter configure should be  ran only in our flutter project file okay we can't   run this particular command in command prompt it  will throw us an error if you type flutterfire   configure in our Command Prompt so I'll just go to  my Android Studio project this is that particular   location where I'm having my Flutter project so if  I just go here and type flutter fire configure and   hit enter so here you can see right this time  I'm not getting any errors for flutter fire   which means that our path has been successfully  configured so here you can see that I'm getting   select the option so you can just select this one  radio app or test project so I can just select   this so this is working perfectly fine now so I'm  also getting which platforms and after that I can   hit enter so this is how it works guys you can  do it for IOS and Android so I hope you would   have found this video useful mine is a programming  channel do check the playlist I've done tutorials   in C C++ Java python node.js react JS mongodb  MySQL so subscribe me thanks for watching
Info
Channel: United Top Tech
Views: 20,533
Rating: undefined out of 5
Keywords: 'flutterfire' is not recognized as the name of a cmdlet, Flutter firebase error, Flutterfire error solved, Flutter firebase tutorial
Id: 6QeCWBiS54Q
Channel Id: undefined
Length: 5min 31sec (331 seconds)
Published: Mon May 08 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.