Questions tagged [firebase-tools]
The Firebase CLI provide a variety of tools for managing, viewing, and deploying Firebase projects, as well as a set of emulators for Firebase products. It's available via the npm module firebase-tools.
firebase-tools
1,044
questions
0
votes
1
answer
24
views
Error 400 when sending a valid JSON file to Firebase Realtime Database through CLI
I'm trying to upload a JSON file to a Firebase realtime database but I keep getting error 400. I've uploaded the same JSON file manually through the firebase website and the upload is completed ...
0
votes
1
answer
12
views
Check from a firebase cloud function quota data
Is there a way to check from a firebase cloud function (using firebase CLI I guess) my current quota data (number of read/write/deletes of my project in the current day). The idea is that I have some ...
0
votes
0
answers
21
views
Testing React + Firebase with emulator
I have a Firebase project where I'm using Firebase Functions and Hosting, and React for the frontend. During firebase init, I set build as my hosting directory, which is created by npm run build.
For ...
1
vote
0
answers
19
views
I am working on multiple flutter projects. Each one has a seperate firebase account [duplicate]
Now I always have to logout from one account and login to other via the cli to access its functions.
Is there some way through which each project in my vs code has its respective firebase login? So ...
0
votes
0
answers
44
views
cypress-firebase emulator default credentials error
i'm using React and Firebase to build an web app and i would like to use Cypress to do some end to end testing. I am new to Cypress. I'm trying to setup Cypress-Firebase NPM package but i'm getting ...
0
votes
0
answers
17
views
Git Guardian on dummy data
I have a Firebase project where I have dummy accounts to test locally. To avoid creating the accounts each time I start the Firebase Emulator, Once I have the accounts, I export everything. Since they ...
0
votes
1
answer
31
views
can't Import firebase_options.dart
I can't Import firebase_options.dart to the main.dart file. And I also got this Error:
FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command.
COMMAND: ...
0
votes
0
answers
30
views
Firebase is not connecting locally
I have a React application and I use firebase for authentication, database and storage. I had to update the firebase version, because from my old version, we can't logging using the Google option ...
0
votes
0
answers
23
views
How to deploy to Firebase from Docker container in Nuxt 3
How to manage Firebase CLI authentication and then deployment from Docker container
This is lacking in NUXT Firebase documentation
https://nuxt.com/deploy/firebase
I have found different customs setup ...
0
votes
1
answer
33
views
Firebase functions emulator get actor user information
I need to construct specific linked documents when Firestore object is created, and I need to know who created the specific document. Based on documentation I should be able to use ...
0
votes
0
answers
21
views
Cannot reach the firebase emulator from a physical device in Flutter (connection refused)
I have developed a flutter app based on firebase. Now I would like to be able to use the emulator environment of firebase for development. To do this, I have installed and set up the emulator with all ...
0
votes
1
answer
41
views
How can I configure the Firebase Cloud function emulator so that my function receives messages from a real cloud topic
I want to be able to test my cloud function locally in the Firebase emulator with it receiving messages from an actual topic in the Firebase cloud environment (not from the Firebase PubSub emulator).
...
0
votes
0
answers
28
views
Firebase rewrite rules work locally via firebase serve but not when deployed
I started working on a Firebase Hosting project to host my custom, so not via the deprecated Firebase links, association files and assetlinks json. The solution I had in mind included the following ...
0
votes
0
answers
31
views
How to know that an object is a folder using Cloud Functions with Cloud Storage Trigger
I'd like to know how I could detect that an object (that was recently created) is of type "folder".
Currently, I do this with this piece of code:
export const resizeImage = onObjectFinalized(...
1
vote
1
answer
46
views
Can't build and deploy a flutter web app to firebase hosting after updating firebase-tools
I have a flutter web app that runs locally on my machine when I give the command:
flutter run -d chrome
I was able to build and deploy using the following two commands:
flutter build web
firebase ...