我试图在我的角度项目中使用firebase.database.reference,但即使在搜索web之后,我也无法消除后续错误。
我得到了下面一行的错误“属性‘数据库’不存在”
let dbRef = firebase.database().ref('students/');
此外,我还得到了“无法找到名称'firebase‘”的错误,因此我添加了
import * as firebase from '@firebase/app';
这删除了“firebase”名称错误,但我不知道这是否是导入防火墙的最佳方法?
我用的是角5
import { Ang
当应用程序在浏览器中加载时,它会发出以下警告。因此无法为prod (ng build --aot --prod)创建内部版本
It looks like you're using the development build of the Firebase JS SDK.
When deploying Firebase apps to production, it is advisable to only import
the individual SDK components you intend to use.
For the module builds, these ar
我只想安装firbase作为数据库,但是得到了这个错误:
ERROR Error: permission_denied at /courses: Client doesn't have permission to access the desired data.
at errorForServerCode (index.cjs.js:647)
at onComplete (index.cjs.js:9114)
at Object.onComplete (index.cjs.js:12681)
at index.cjs.js:11797
at Pe