Questions tagged [firebase-cli]

The Firebase CLI provide a variety of tools for managing, viewing, and deploying to Firebase projects, as well as a set of emulators for Firebase products. It's available via the npm module firebase-tools.

These are the Firebase Command Line (CLI) Tools. They can be used to:

  • Administer your Firebase account

  • Interact with Firebase Hosting, our product to host your static HTML, JS, CSS, images, etc.

  • Interact with the Firebase Database, to read and write JSON data and deploy security rules

  • Interact with Firebase Storage, to read and write files and deploy security rules

  • Deploy Cloud Functions for Firebase code

  • Emulate Cloud Functions and Cloud Firestore locally for use in development and testing.

See also:

Related tags

814 questions
0
votes
1 answer

Firebase functions deploy npm error

npm WARN ajv-keywords@3.1.0 requires a peer 0f ajv@A6.0.0 but none is installed. You must install peer dependencies yourself.
Shashank Shinde
  • 309
  • 1
  • 2
  • 11
0
votes
2 answers

Firebase Module Installation Failled

I want to install firebase-tools to implement Firebase Cloud Functions. Trying to install the firebase module via npm but always get an error. Tried with many node version such as 6.11.5, 8.9.4 & 9.5.0. All versions are giving same issue. Can you…
0
votes
0 answers

Run Firebase functions through experimental shell in batch?

We are running a larger scale project on Firebase and have already invested in unit tests. Now, we are also using the experimental shell to run integration tests against a testing environment and database. We would very much like to invoke functions…
0
votes
0 answers

Firebase app deploy error

I am deploying a node.js application using firebase-functions, but when I am running the command firebase deploy I get the following error: Running command: npm --prefix $RESOURCE_DIR run lint Error: EACCES: permission denied, mkdir…
Shubham Gupta
  • 414
  • 7
  • 19
-1
votes
1 answer

FlutterFire/Firebase CLI: Failed to create iOS app for project myapp-e8cd7

I have been trying to register my flutter application with firebase in android studio, but it shows me this error: abubakarshafiu@Abubakars-MBP myapp % flutterfire configure -icom.ios.bubdle …
-1
votes
1 answer

Firebase not instal on windows 10

fierbase: The name "fierbase" is not recognized as the name of a cmdlet, function, script file, or executable program. Check the spelling of the name, as well as the presence and correctness of the path, and then try again. line: 1 character:…
-1
votes
1 answer

for a company interested to use only Firestore, what is the differrence between gcloud and Firebase CLI

My straight question is: since I am not interested in other Google Services, only Firestore, what is the difference between Firebase Cli and gcloud? Can I do all I need only with Firebase Cli or should I learn also gcloud? I can easilly see that…
-1
votes
1 answer

Check ESLint warnings with Firebase CLI without deploying functions

I have a bunch of ESLint warnings that I want to resolve, but don't want to go through troubleshooting them by continuously deploying a function. Is there a Firebase CLI command that I can use to just check for errors/warnings?
-1
votes
2 answers

How to change the directory of my installed firebase?

I have installed firebase by running npm install -g firebase-tools and other command, but somehow I still cannot run any firebase command in my ionic project directory as a error message will show 'firebase' is not recognized as an internal or…
10IEI
  • 21
  • 1
  • 5
-1
votes
1 answer

Firebase Managing Hosting with Multiple Sites

I have unforunately ran firebase deploy --only hosting without specifying a target and deployed to the wrong site too many times. I was wondering if it would be possible to configure the debug tab in VS Code to run a command to make sure I'm…
Marcus Gallegos
  • 1,532
  • 1
  • 16
  • 31
-1
votes
2 answers

Firebase Web Init Error File Already Exists

I've installed Node.js, npm, and firebase-tools. I want to deploy a web app using Firebase hosting. I follow the documentation and do the commands as shown, but I get an unexpected error. I've posted the firebase debug log. How do I fix…
Rontron
  • 3,963
  • 7
  • 26
  • 44
-1
votes
2 answers

how to switch projects in firebase localhost:5000

Sorry I'm a newbie. I'm exploring firebase codelabs and successfully hosted a project using the localhost:5000. I'm creating a new project and also trying to use the firebase serve --only hosting but the project that was showing was the previous…
-1
votes
1 answer

Is there a faster way to switch between Firebase accounts?

The current method I use to switch between accounts is using the Firebase CLI with: firebase logout firebase login The browser then opens and then I give the CLI permissions. Is there any other method that is faster than this one, or a way that the…
Brendan
  • 834
  • 1
  • 9
  • 20
-1
votes
1 answer

Firebase cannot be used after installation

I just installed Firebase. NPM was previously installed and works. Node too. If I want to use Firebase in terminal, the command is not found. Firebase has been installed in the AppData/... folder. What can I do?
David Simon
  • 21
  • 1
  • 7
-1
votes
1 answer

Firebase CLI download restriction

I have a firebase database linked to an iOS app on which users have to be logged-in to read data from a specific node So I edited my security rules : "data": { ".read": "auth != null" } Nevertheless I would like to prevent users to download the…
1 2 3
54
55