Firebase 无法获取 CLI MOTD 和远程配置

huangapple go评论56阅读模式
英文:

Firebase Unable to fetch the CLI MOTD and remote config

问题

尝试进行 Firebase 部署时,出现以下错误信息:

! 无法获取 CLI MOTD 和远程配置。

然后停止,并显示以下错误:

错误:发生了意外错误。

有人有想法吗?

之前它是正常工作的,我没有更改任何内容。我使用的是 Windows 10 和 VSCode。

英文:

when trying to firebase deploy, getting this

! Unable to fetch the CLI MOTD and remote config.

and then it stops with:

Error: An unexpected error has occurred.

Anyone an idea?

It worked before, I didn't change anything. Windows 10, VSCode.

答案1

得分: 3

尝试从 Firebase 注销,然后再次登录。

英文:

Try to logout from firebase and then login again

答案2

得分: 3

运行 npm install -g firebase-tools

英文:

run npm install -g firebase-tools

答案3

得分: 0

根据 Danny Menocs 的说法,我尝试将一个 Flutter Web 项目上传到 Firebase,但忘记了我还开着 VPN。关掉 VPN 后连接正常。

英文:

As Danny Menocs says, I was trying to upload a flutter web project to firebase but had forgotten I had left my VPN on. Turned it off and connected fine.

答案4

得分: 0

确保在运行部署命令之前,你位于 Firebase 函数文件夹中。

英文:

Make sure you are in your firebase functions folder before running the deploy command.

huangapple
  • 本文由 发表于 2023年2月10日 06:26:39
  • 转载请务必保留本文链接:https://go.coder-hub.com/75405098.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定