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.

The Firebase Command Line (CLI) Tools 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 your code to Cloud Functions for Firebase

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

See also:

Related tags

903 questions
0
votes
0 answers

Can't use the "firebase" global word in CLI in Windows

I'm trying to install the Firebase CLI in windows but for some reason it won't allow me to use the "firebase" command anywhere unless I'm in the path C:/Program Files/nodejs. It works fine when I'm in that path, but the whole point of using the…
0
votes
1 answer

Where is my index.html that I already created?

I have a site already. I am moving it to google hosting in firebase. I followed everything when testing it out and was able to get a database working. Just a sample one. So during that process, I set up Firebase and I used a public directory - this…
0
votes
0 answers

firebase deploy command not working

so for the past few weeks I've been developing a swift App that connects to Firebase. I have also started working on writing my own cloud functions and deploying them from my macbook using firebaseCLI. However, today when I continued my work on the…
Chris
  • 1
  • 1
0
votes
1 answer

Trying to install firebase-tools and getting a strange error

I'm trying to deploy my app on firebase and following a tutorial. I ran npm install -g firebase-tools and getting the following error: npm WARN deprecated node-uuid@1.4.8: Use uuid module instead /usr/local/bin/firebase ->…
user7496931
0
votes
1 answer

Firebase-tools initializing error

I'm building an web app that will use firebase as hosting and database. In order to do this, I need to create a project using firebase init but after doing that I can proceed to choose which features I want to choose, I get stuck in it and can't…
Thiago Nascimento
  • 1,073
  • 2
  • 13
  • 40
0
votes
1 answer

Correct format to use database:set with firebase-tools

So from everything I have read, with firebase-tools installed globally, my Windows command prompt open at the folder containing my project, a working firebase.json file (working in that firebase deploy works fine) I should be able to run the…
Mike Hanson
  • 266
  • 1
  • 8
0
votes
1 answer

How to deploy ONLY Cloud Functions without affecting Hosting?

Basically, I'd like to: firebase deploy --only functions without remove my webapp* (Hosting). Every deploy takes too long because of this step: hosting: preparing . directory for upload..., so I'd like to skip it without affecting my previously…
Jobsamuel
  • 1,342
  • 1
  • 13
  • 25
0
votes
1 answer

Firebase init is not create a default project its stop by saying a title project setup

I am new to firebase. I am trying to use firebase cloud function for my project. I have installed npm and nodejs on my windows machine and then I login my firebase account using: firebase login Then I created a folder where I want my scripts to…
Cubes
  • 1
  • 1
0
votes
0 answers

Cloud Functions for Firebase doesn't recognize changes in updated index.js file

In other words, functions deployments seems not working for me. I made some changes in the index.js file and redeployed the function, it says deployment successful and Firebase log shows a deployment was made, but the newer code won't take…
0
votes
1 answer

How to deploy google firebase functions using cmd?

I have a problem with a web hosting project. I created a new proyect in google firebase, and I executed the following commands: C:\myproject>firebase init functions C:\myproject>firebase deploy --only functions But the site says this: Site Not…
user6879068
0
votes
1 answer

Firebase hosting does not upload 100% when deploying

I was deploying some updates for my web app, but found out that not all files were updated after the deployment. Some functions broke because of this and I found out that when deploying, it didn't upload the full 100%. I think this is why it does…
Zizazorro
  • 1,321
  • 2
  • 11
  • 19
0
votes
1 answer

Trouble using auth:import function from firebase-tools package as a node.js module

Currently, I am trying to import users with already hashed passwords into Firebase by solely using the 'firebase-tools' package. I am able to list my current projects by using the command: client.list({ token:fbToken …
0
votes
1 answer

Updated code not running when running my web page with firebase serve

I'm having this really weird error with my JavaScript code and Firebase. I will update my JavaScript code in my editor, Atom, save the .js file then go to the place where this file is located in the terminal and run firebase serve. Most of the time…
Haris
  • 521
  • 1
  • 6
  • 14
0
votes
1 answer

Cannot deploy ember app in Firebase

I am unable to deploy my ember application in Firebase. I can only see the welcome page of Firebase hosting: You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary! I have installed…
0
votes
1 answer

Unable to login to firebase using cli

I'm currently following the tutorial for creating a web app with firebase, and I'm unable to login using firebase login. I've followed the steps up to that point. firebase version says it's 3.1.0, so it has installed correctly. I'm running this…
endorphins
  • 586
  • 1
  • 4
  • 21