firebase - 错误 : Failed to get Firebase project project-name. 请确保该项目存在并且您的帐户有权访问它

标签 firebase google-cloud-firestore

我试过运行 firebase deploy就像我一直做的那样,但遇到了这个错误:

Error: Failed to get Firebase project project-name. Please make sure the project exists and your account has permission to access it.


我跑了firebase login我得到“已经以 email@example.com 身份登录”firebase-debug.log文件显示了一些 401 http 响应,其中一些具有以下文本:

'Request had invalid authentication credentials' and also 'invalid token'


如何解决这个问题?

最佳答案

对我来说这有效,firebase logoutfirebase login

关于firebase - 错误 : Failed to get Firebase project project-name. 请确保该项目存在并且您的帐户有权访问它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63473787/

相关文章:

android - Firebase 代码不创建新用户

javascript - NextJS : getStaticProps revalidate not working

firebase - Flutter Cloud Firestore 插件 : How reject a transaction?

javascript - NodeJs/Google Firebase 函数字符串方法不起作用

javascript - firebase 部署 : how to modify pre-deploy

android - 错误: incompatible types: Task<Uri> cannot be converted to Uri

google-cloud-firestore - 仅当Firebase Firestore中不存在文档时才创建它

javascript - Firestore 无法获取空文档

javascript - 如何将用户输入存储为 typescript 中的对象键?

java - 如何添加新 child 而不覆盖其他 child