Han*_*atz 6 firebase firebase-cli
我忘记从终端中的 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.
Run Code Online (Sandbox Code Playgroud)
因此newproject-7432a是我使用旧 Firebase 帐户的旧项目,我的新项目是 Doshirak
反正我有办法解决这个问题,还是必须从头开始?
Dou*_*son 14
此消息告诉您运行 firebase init 的项目目录已经配置:
i .firebaserc already has a default project, using newproject-7432a.
Run Code Online (Sandbox Code Playgroud)
文件 .firebaserc 包含该项目的 ID。如果您不想再使用该项目,只需删除 .firebaserc 并再次运行 firebase init。
| 归档时间: |
|
| 查看次数: |
7349 次 |
| 最近记录: |