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
1 answer

Firebase function status failed

D:\work\ocr\receiptWeb\functions>functions list ┌────────┬────────┬─────────┬─────────────────────────────────────────────────────────────────┐ │ Status │ Name │ Trigger │ Resource │ …
Elia Weiss
  • 8,324
  • 13
  • 70
  • 110
0
votes
1 answer

debugging firebase on local windows

I'm trying to debug firebase function on my local windows as described in https://medium.com/@mwebler/debugging-firebase-functions-with-vs-code-3afab528bb36 I do set FIREBASE_CONFIG={ databaseURL: 'https://invoice-manager-251609.firebaseio.com', …
Elia Weiss
  • 8,324
  • 13
  • 70
  • 110
0
votes
0 answers

hello everyone, I have a problem with npm. npm install

I have a problem with npm. npm install -g firebase-tools After firebase login, I get "command not found" error. I uninstalled node js and reinstalled it still the same problem. I would be glad if you help. firebase login -bash: firebase: command…
Mehmet
  • 29
  • 3
0
votes
1 answer

Firebase Cloud Functions - Authentication error when testing functions with firebase functions:shell

I am testing some Firebase Cloud functions and when I test them locally using firebase functions:shell, I get this error: @firebase/database: FIREBASE WARNING: {"code":"app/invalid-credential","message":"Credential implementation provided to…
Stevie Star
  • 2,331
  • 2
  • 28
  • 54
0
votes
1 answer

Firebase Too many arguments. Run firebase help emulators:start for usage instructions

I´m executing firebase emulators:start --only functions, firestore and getting Error: Too many arguments. Run firebase help emulators:start for usage instructions What could be the problem? as Federkun suggested worked Could the command…
Adriel Werlich
  • 1,982
  • 5
  • 15
  • 30
0
votes
1 answer

Firebase CLI - Which project id takes precedence when deploying?

I have a single codebase which I have deploying out to 2 firebase projects, dev and prod. My .firebaserc contains: { "projects": { "default": "dev" } } However, if i type firebase list, i…
plusheen
  • 1,128
  • 1
  • 8
  • 23
0
votes
0 answers

No response coming from elastic search using firebase?

Im not getting any response from elastic search it is returning just this I am guessing that elastic search doesn't have the data to search maybe because the firebase and elastic search models are different somewhere , I don't know can anyone help…
0
votes
1 answer

stop deployment of people outside company email address - Firebase

Currently anyone with email address can deploy a code by firebase-tools i generally use firebase deploy the challenge i have here is , i want to restrict people outside company email address to deploy code using the command firebase deploy . Eg:…
0
votes
1 answer

"Error: Server Error. socket hang up" whenever I do "firebase deploy --only hosting, database, storage"

I am currently working with Firebase using its hosting, functions, storage, database. After setting up all the firebase.json correctly, whenever I try to deploy those to the my project on firebase, this error keeps occuring. firebase.json is in a…
Dream High
  • 123
  • 1
  • 10
0
votes
1 answer

Can't test Firebase Cloud Functions locally on Windows: 'Error: listen EACCES'

I can't run firebase cloud functions locally on Windows 10. To reproduce this issue: Just init a new firebase project with firebase init and init functions. This is a test with the example helloWorld import * as functions from…
0
votes
1 answer

Conditionally firebase deploy functions 'predeploy' depending on ps or bash terminal

I am on a windows machine with vscode and run commands from bash terminal inside it. However have found that the firebase deploy cli is more stable on my machine if called from cmd or powershell. Sometimes hangs with vscode.bash or gitbash…
karlmnz
  • 138
  • 10
0
votes
2 answers

Cannot find module 'firebase/app' in version 5.7.0

I'm trying to build an angular project to be deployed on Firebase, but I can't run my npm run build or even npm start commands due to the following error. ERROR in node_modules/@angular/fire/database/interfaces.d.ts(2,26): error TS2307: Cannot…
jerome
  • 411
  • 2
  • 11
  • 23
0
votes
1 answer

Firebase providing an invalid Web API Key (API key not valid. Please pass a valid API key)

I've run into an ongoing issue with Firebase authentication. TL;DR The firebase CLI tool appears to generate a new API key each time a command to display one is run, invalidating any previous keys, even if they are in use. There seems to be multiple…
Donovan
  • 15,917
  • 4
  • 22
  • 34
0
votes
1 answer

Problems when using Firebase Tools

I'm having troubles when I try to execute firebase commands in the Node.js console. Tipically, it shows me the next sentence (for example, when I execute firebase list): Error: An unexpected error has occurred. I'm currently logged in. When I try to…
0
votes
1 answer

How can I solve this error \%RESOURCE_DIR%\?

package.json Angular6: { "name": "adnanrealestate", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", …
Omar
  • 109
  • 1
  • 5
  • 12