New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebase command not found #113
Comments
Check this thread on stack overflow: http://stackoverflow.com/a/35037456/2087198 |
Closing for now as this seems like an install issue in your specific case. If you still have issues, please re-open and provide some information about what errors you are seeing. |
Could you check up to install 'nodejs' in ubuntu? check up command : if u don't show node version in windows, follow commend! sudo apt-get install nodejs-legacy after, it will be okay! |
Run code below with terminal,
|
@durul This saved my life after about 40 ridiculous minutes - Worked like a charm! |
Another issue is you need to login to your computer as a Root/Administrator. I utilized this solution under my personal account and the code referenced above worked, however, it was pointed out to me that I was not under a root/administrator account. |
Hey guys |
@victoredede21 Maybe this can help? |
Great! Thanks, man. |
A mi me paso lo mismo, en Windows de recomendacion instalen git y usen la consola de git o enlacenla a su editor yo uso vs code para usar la consola de git el problema es que 1) tenes que loguearte con Google 2) importar los archivos que te da firebase en tu tu proyecto. 3) haber instalado npm, 4) npm install -g firebase-tools 5) PONER EN LA CONSOLA ls para que quede a mismo nivel, de las carpetas src y dist o public 6) firebase login 7) firebase init y listo ya estan en el proyecto. |
@durul still saving lives <3 |
I tried everything you wrote here, yet i am still getting the same result //bash: C:UsersMikeAppDataRoamingnpm/bin/firebase: No such file or directory |
You are using OS Win. You should put the firebase folder path in envariment variavel.
For Win, search on Google aboult "environment variable path". |
YES! This worked for me. |
somehow it doesn't work with spaces, so I fixed it with
|
This worked, but I seem to be getting command not found on other packages like eslint, this still But i'm wondering what causes this. |
same problem here . do you have some idea about this matter? why doesn't work on windows |
Below command works for me on terminal curl -sL firebase.tools | upgrade=true bash This command install firebase tool for me |
If you are using linux : |
curl -sL https://firebase.tools | bash |
For windows try to install it without -g .//because it will store modules some where in C drive where you will never found it again. you will found .bin in node_modules of current directory './node_modules/.bin' |
Solution
|
This worked but I need to run it everything I open up the bash. Is there a way to make this change permanent? |
Termux too?? |
Thank you, worked like a charm! |
God bless you <3 <3 |
Follow this this step
|
Hey!
I'm new to Firebase, and tried to deploy my app.
but I always get this error :
-bash: firebase: command not found
I tried installing with
npm install -g firebase-tools a
aswel as
npm install --global firebase-tools
and their corresponding
sudo
command.Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered: