firebase-cli

Firebase cli throws Error: Server Error. connect ETIMEDOUT on every command

这一生的挚爱 提交于 2020-12-11 04:52:51
问题 I checked all the answers to this question on stack overflow. But all of them occurred due to some other reasons. Well, I was trying to deploy some database rules and started getting this error. And later on when i tried to do anything i realized that none of the firebase commands work and throws the same error again and again. what all i tried : updates firebase tools to latest version reset my internet connection firebase login --reauth but no luck. here are the logs [debug] [2018-12-25T05

Firebase Cloud Function deploy tslint error

末鹿安然 提交于 2020-12-09 09:53:54
问题 I started a new Firebase project with the CLI. I'm using only Cloud functions and wanted to deploy some functions but Im getting this error functions@ lint: `tslint --project tsconfig.json` I already changed following lines: "npm --prefix \"$RESOURCE_DIR\" run lint", "npm --prefix \"$RESOURCE_DIR\" run build" to "npm --prefix \"%RESOURCE_DIR%\" run lint", "npm --prefix \"%RESOURCE_DIR%\" run build" because they also threw an error. What do I need to change? Edit: I created a new Firebase

Firebase Cloud Function deploy tslint error

有些话、适合烂在心里 提交于 2020-12-09 09:51:50
问题 I started a new Firebase project with the CLI. I'm using only Cloud functions and wanted to deploy some functions but Im getting this error functions@ lint: `tslint --project tsconfig.json` I already changed following lines: "npm --prefix \"$RESOURCE_DIR\" run lint", "npm --prefix \"$RESOURCE_DIR\" run build" to "npm --prefix \"%RESOURCE_DIR%\" run lint", "npm --prefix \"%RESOURCE_DIR%\" run build" because they also threw an error. What do I need to change? Edit: I created a new Firebase

Does firebase login:ci have access to all my projects?

安稳与你 提交于 2020-12-05 05:25:41
问题 I am using the firebase login:ci token for CI/CD. But there is not enough documentation regarding the token. Does it have access to all my firebase projects where my account has access or only the current active project? Where can I see a list of all tokens and their activity? The solution I am going for is creating a throwaway email and adding that to the project I want to deploy. Is this ok? 回答1: When you run firebase login:ci you get prompted to log in with a Firebase account. After

Does firebase login:ci have access to all my projects?

冷暖自知 提交于 2020-12-05 05:25:01
问题 I am using the firebase login:ci token for CI/CD. But there is not enough documentation regarding the token. Does it have access to all my firebase projects where my account has access or only the current active project? Where can I see a list of all tokens and their activity? The solution I am going for is creating a throwaway email and adding that to the project I want to deploy. Is this ok? 回答1: When you run firebase login:ci you get prompted to log in with a Firebase account. After