gpt4 book ai didi

firebase - i .firebaserc 已经有一个默认项目,使用 newproject-7432a。错误: Failed to get Firebase project newproject-7432a

转载 作者:行者123 更新时间:2023-12-01 18:15:15 24 4
gpt4 key购买 nike

我忘记在终端中注销 Firebase 帐户并更改帐户,然后再继续 firebase init,我使用旧帐户为新项目创建了一个 Firebase 函数,我返回并删除了包括 xcworkspace 在内的文件,然后运行 ​​pod install 并创建了一个新工作区,当我想运行 firebase init 时> 又说

MooMyeongs-MacBook-Pro:Doshirak moomyeong$ firebase init

######## #### ######## ######## ######## ### ###### ########
## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ######
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ########

You're about to initialize a Firebase project in this directory:

/Users/moomyeong/Desktop/Desktop/Applications/Doshirak

? Which Firebase CLI features do you want to set up for this folder? Press Space
to select features, then Enter to confirm your choices. Firestore: Deploy rules
and create indexes for Firestore, Functions: Configure and deploy Cloud Functio
ns

=== Project Setup

First, let's associate this project directory with a Firebase project.
You can create multiple project aliases by running firebase use --add,
but for now we'll just set up a default project.

i .firebaserc already has a default project, using newproject-7432a.

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

因此 newproject-7432a 是我使用旧 Firebase 帐户的旧项目,我的新项目是 Doshirak

我是否有办法解决这个问题,还是我必须从头开始?

最佳答案

此消息告诉您运行 firebase init 的项目目录已配置:

i  .firebaserc already has a default project, using newproject-7432a.

文件 .firebaserc 包含该项目的 ID。如果您不想再使用该项目,只需删除 .firebaserc 并再次运行 firebase init 即可。

关于firebase - i .firebaserc 已经有一个默认项目,使用 newproject-7432a。错误: Failed to get Firebase project newproject-7432a,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59388188/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com