firebase/init.js不包含appId [英] firebase/init.js does not contain appId

查看:66
本文介绍了firebase/init.js不包含appId的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用它来初始化Firebase应用程序:

I am using this to initialize the Firebase app:

<script src="/__/firebase/init.js"></script>

令我惊讶的是,该文件缺少appId条目.当我查看该项目的配置时(请参阅 https://support.google. com/firebase/answer/7015592 ).

To my surprise this file is missing the appId entry. When I look at the config for the project it is there (see https://support.google.com/firebase/answer/7015592).

为什么在"init.js"中缺少appId?如何添加?

Why is appId missing in "init.js"? How do I add it?

推荐答案

我强烈怀疑您没有完全遵循所有安装说明.请务必返回并关注所有内容,尤其是第2部分:注册您的应用程序在控制台中创建一个应用程序,以将您的Web应用程序与其配置相关联.

I strongly suspect you didn't follow all the setup instructions completely. Be sure to go back and follow them all, especially part 2: Register your app where you create an app in the console to associate your web app with its configuration.

如果您完全按照所有说明进行操作,请直接联系Firebase支持以获取故障排除帮助.

If you've followed all the instructions exactly, please contact Firebase support directly for troubleshooting assistance.

这篇关于firebase/init.js不包含appId的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆