Flutter-Firebase:无法从终端创建 firebase 项目

Flutter-Firebase: Not able to create firebase project from terminal

i Found 1 Firebase projects.

✔ Select a Firebase project to configure your Flutter application with · <create a new project> 

✔ Enter a project id for your new Firebase project (e.g. my-cool-project) · first-trial-proj 

i New Firebase project first-trial-proj created succesfully.

FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command.

COMMAND: firebase projects:create first-trial-proj --json

ERROR: Failed to create project because there is already a project with ID first-trial-proj. Please try again with a unique project ID-----

这是我尝试创建 Firebase 项目时发生的情况。我也不知道为什么它接受 "in-demo-proj" 作为名字。

Firebase 和 Google Cloud 中的项目名称在所有用户中必须是全局唯一的。错误消息似乎表明名为 first-trial-proj 的项目已经存在。

您可能想尝试一些更独特的东西,例如您的姓名和日期的组合。

或者,您可以先在 Firebase console 中创建项目(它会在您键入时执行此类检查以确保唯一性),然后才 运行 FlutterFire CLI 和 select 项目.