英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论