在命令提示符中使用firebase项目ID

问题描述 投票:2回答:1

处理后的命令$ firebase init函数不是要求我在firebase上的项目id应该初始化,而是使用默认项目。这是enter image description here的照片

firebase cmd command google-cloud-functions
1个回答
2
投票

这是因为您正在重新初始化当前目录中的firebase功能,即学习聊天机器人。 enter image description here

如果您打算覆盖此目录中的现有firebase函数,可以按照以下说明操作:enter image description here或者如果不想覆盖现有文件:enter image description here

如果您创建一个新目录然后在那里初始化firebase函数会更好。

在“学习聊天机器人”目录之外创建一个新目录并尝试在那里初始化。

© www.soinside.com 2019 - 2024. All rights reserved.