firebase-cli

Delete all firebase functions

自闭症网瘾萝莉.ら 提交于 2021-01-27 02:39:33
问题 I have a firebase project with multiple functions deployed. Is it possible to remove all the functions in a single go through the CLI? I tried the command firebase functions:delete --region us-central1 and the error output was Error: Must supply at least function or group name. As of right now, I deleted all of them specifying each of their names as such: firebase functions:delete function1 function2 ...functionN but this is very cumbersome. The version of firebase-tools installed is v4.0.0

Delete all firebase functions

我与影子孤独终老i 提交于 2021-01-27 02:39:05
问题 I have a firebase project with multiple functions deployed. Is it possible to remove all the functions in a single go through the CLI? I tried the command firebase functions:delete --region us-central1 and the error output was Error: Must supply at least function or group name. As of right now, I deleted all of them specifying each of their names as such: firebase functions:delete function1 function2 ...functionN but this is very cumbersome. The version of firebase-tools installed is v4.0.0

Firebase CLI deploy error: “Deploys to runtimes below Node.js 10 are now disabled in the Firebase CLI.”

邮差的信 提交于 2021-01-03 03:15:18
问题 I have a project using Cloud Functions for Firebase, and after updating the Firebase CLI to version 9.0.0, I am getting an error message: Error: package.json in functions directory has an engines field which is unsupported. Valid choices are: {"node": "10"}, {"node":"12"}, and {"node":"14"}. Deploys to runtimes below Node.js 10 are now disabled in the Firebase CLI. Existing Node.js 8 functions will stop executing on 2021-03-15. Update existing functions to Node.js 10 or greater as soon as

Firebase CLI deploy error: “Deploys to runtimes below Node.js 10 are now disabled in the Firebase CLI.”

霸气de小男生 提交于 2021-01-03 03:15:03
问题 I have a project using Cloud Functions for Firebase, and after updating the Firebase CLI to version 9.0.0, I am getting an error message: Error: package.json in functions directory has an engines field which is unsupported. Valid choices are: {"node": "10"}, {"node":"12"}, and {"node":"14"}. Deploys to runtimes below Node.js 10 are now disabled in the Firebase CLI. Existing Node.js 8 functions will stop executing on 2021-03-15. Update existing functions to Node.js 10 or greater as soon as

Firebase CLI deploy error: “Deploys to runtimes below Node.js 10 are now disabled in the Firebase CLI.”

雨燕双飞 提交于 2021-01-03 03:13:44
问题 I have a project using Cloud Functions for Firebase, and after updating the Firebase CLI to version 9.0.0, I am getting an error message: Error: package.json in functions directory has an engines field which is unsupported. Valid choices are: {"node": "10"}, {"node":"12"}, and {"node":"14"}. Deploys to runtimes below Node.js 10 are now disabled in the Firebase CLI. Existing Node.js 8 functions will stop executing on 2021-03-15. Update existing functions to Node.js 10 or greater as soon as

Firebase CLI deploy error: “Deploys to runtimes below Node.js 10 are now disabled in the Firebase CLI.”

爷,独闯天下 提交于 2021-01-03 03:12:50
问题 I have a project using Cloud Functions for Firebase, and after updating the Firebase CLI to version 9.0.0, I am getting an error message: Error: package.json in functions directory has an engines field which is unsupported. Valid choices are: {"node": "10"}, {"node":"12"}, and {"node":"14"}. Deploys to runtimes below Node.js 10 are now disabled in the Firebase CLI. Existing Node.js 8 functions will stop executing on 2021-03-15. Update existing functions to Node.js 10 or greater as soon as

Firebase command not found days after having already successfully used it

徘徊边缘 提交于 2021-01-02 20:41:45
问题 I am trying to use the 'firebase' command from my Mac terminal to deploy firebase cloud functions using 'firebase deploy --only functions'. I just used this command a week or two ago when I updated my firebase-functions and firebase-tools to version 3.18.4 but now everytime I try to use the 'firebase' keyword to run a command it says -bash: firebase: command not found . When I run npm -g list I see that I have firebase, firebase-tools and more in that list. I've tried running 'npm install -g

Firebase command not found days after having already successfully used it

[亡魂溺海] 提交于 2021-01-02 20:40:38
问题 I am trying to use the 'firebase' command from my Mac terminal to deploy firebase cloud functions using 'firebase deploy --only functions'. I just used this command a week or two ago when I updated my firebase-functions and firebase-tools to version 3.18.4 but now everytime I try to use the 'firebase' keyword to run a command it says -bash: firebase: command not found . When I run npm -g list I see that I have firebase, firebase-tools and more in that list. I've tried running 'npm install -g

Flutter Firebase Authentication emulator enabling

余生长醉 提交于 2020-12-27 06:30:08
问题 I'm trying to hook the Firebase Authentication emulator to my Flutter mobile project to perform some local testing. Unfortunately it seems it is not possible to do with the FlutterFire plugin. There is no problem whatsoever to enable Firestore or Cloud Functions emulators, but I can not find a way for Authentication. Is there someone with ideas or best practices to follow? 回答1: It looks like the method to connect to the Authentication emulator hasn't made it to the FlutterFire libraries yet.

Flutter Firebase Authentication emulator enabling

守給你的承諾、 提交于 2020-12-27 06:27:32
问题 I'm trying to hook the Firebase Authentication emulator to my Flutter mobile project to perform some local testing. Unfortunately it seems it is not possible to do with the FlutterFire plugin. There is no problem whatsoever to enable Firestore or Cloud Functions emulators, but I can not find a way for Authentication. Is there someone with ideas or best practices to follow? 回答1: It looks like the method to connect to the Authentication emulator hasn't made it to the FlutterFire libraries yet.