Google cloud functions 云函数,文件remoteconfig.template.json不存在

Google cloud functions 云函数,文件remoteconfig.template.json不存在,google-cloud-functions,Google Cloud Functions,当我通过firebase init设置Cloud Functions文件夹时,一切正常 但当我进入“firebase部署”时,它会一直显示 Error: File remoteconfig.template.json does not exist 我想我在设置时也创建了该文件 我在谷歌上搜索了一下,但什么也没找到。如何解决这个问题?根据您的问题,我知道您没有使用firebase的远程配置产品。只要从firebase.json中删除它的定义,一切都会按预期工作。如果您使用firebase的rem

当我通过firebase init设置Cloud Functions文件夹时,一切正常

但当我进入“firebase部署”时,它会一直显示

Error: File remoteconfig.template.json does not exist
我想我在设置时也创建了该文件


我在谷歌上搜索了一下,但什么也没找到。如何解决这个问题?

根据您的问题,我知道您没有使用firebase的远程配置产品。只要从firebase.json中删除它的定义,一切都会按预期工作。

如果您使用firebase的remoteconfig服务,那么您需要远程配置json文件@Methkal Khalawi我必须手动完成吗?初始化时,CLI会问我“您是否要将远程配置文件设置为remoteconfig.template.json”,因此我输入了“Y”,如果您不使用远程配置,则只需将其从firebase.json中删除即可file@MethkalKhalawi谢谢我的朋友,你能回答这个问题吗?我已经为你的问题添加了答案。请接受,以提高社区的知名度。我会检查你的其他问题