Firebase is not recognized as an internal or external command operable program or batch file SOLVED

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 Firebase is not organized as an   internal or external command operable program or  batch file so I'm getting this error when I just   run the command Firebase login or only Firebase in  my command prompt as well as in my Android Studio   I hope you will be also getting this same error  if you run in Visual Studio code also some cmdlet   function and script file or operable program so  I have a list of solutions that you can like do   to solve this issue so to begin with I hope you  would have run this command at first npm install   hyphen g Firebase tools so this is like the  basic command that you would have run so next   thing what we need to check is that we have to  have add this particular path okay so let me   just go to that path so just go to your folders  you need to go to this PC and in this PC you need   to go to local disk C and in that you need to  go to users your username that is a system name   and inside that you need to go to app data so this  app data is a hidden folder okay so here you can   see right that logo or icon of app data is kind  of dullish yellow in color so to view this hidden   folder what you want to do is you need to just  click on view and in order to check this hidden   items option so if I uncheck It app data won't be  appearing now so you have to go to view and check   this hidden items so now app data is visible so  just go to app data and inside app data you need   to go to roaming and inside roaming you'll be  having a folder named as npm just click on that   and here you can see inside this will be having  our Firebase thing so we need to copy this path   so just click your mouse here and copy it so its  C users your system name app data roaming and npm   just copy this path Ctrl C after you're done  you need to go to search and type environment   you'll be getting the first option as edit the  system environment variables just click on open   and here you need to click  on environment variables   and in this under system variables you will be  having option called as path just click on that   path or you can just click on path and you need to  press edit and here you need to just press new and   you need to paste this path you have to paste  this full path and click on OK everywhere okay   and in case if you have opened command prompt  already close it and case if you are opening   Android Studio already just close it even if you  are having Visual Studio code just restart it so   just now restart my command prompt as well as my  Android Studio if you are having vs code you can   just now reload it okay so first I will show  with command prompt so I'll just type Firebase so this time you can see that I'm not getting  any errors these are some of the commands and   like tools or options that helps me working  with Firebase so this command is working fine   so if you type Firebase login it will show  you the login prompt so this will also work   fine I'm pretty sure about that in case even  if in my Android Studio if I type Firebase   this will also work fine Firebase login and  Firebase will be working fine so this is the   first solution and the second way is you need  to reinstall your node.js and npm like have   the latest version I guess so you need to just  uninstall your node.js and need to like reinstall   from their official website so this is another  way and the final way is by using the command   npm install hyphen g Firebase tools hyphen f that  is a force install of this I think in most of the   cases the first method and second method will  work fine so just add this path and try doing   it so this is how you solve the issue guys  and I hope you would have found this video   useful mine is a programming channel do check  the playlist I have done tutorials in C C++   Java python node.js react JS mongodb MySQL CRUD  operations so subscribe me thanks for watching
Info
Channel: United Top Tech
Views: 5,917
Rating: undefined out of 5
Keywords: 'firebase' is not recognized as an internal or external command, The term 'firebase' is not recognized as the name of a cmdlet, Firebase error solved, Firebase is not recognized
Id: jctBDjUv6FA
Channel Id: undefined
Length: 3min 49sec (229 seconds)
Published: Mon May 01 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.