flutter - 获取“TypeError:this.jsObject.database 不是函数”
问题描述
当我尝试使用依赖项 firebase_database: ^8.0.0 时,我收到标题中显示的错误。我不确定这个错误是在传达什么,我还没有在网上看到很多关于它的事情。
解决方案
您很可能会得到这个,因为您还没有为 firebase 添加脚本。它在 FlutterFire 文档中 https://firebase.flutter.dev/docs/installation/web#add-firebase-sdks
推荐阅读
- sql - DB2:实现 LAG ROWS UNBOUNDED PRECEDING 和 UNBOUNDED FOLLOWING
- google-sheets - 电子邮件字段显示为来自 google sheet =importhtml() 函数的 [电子邮件保护]
- c++ - X11不会开窗
- c - 使用 c 语言的带有最少括号数的中缀前缀
- sql - “无法识别数值''” - 哪一列?
- firebase - 具有统一性的 Firebase Auth 在每次启动时都会创建新用户
- python - 将丢失的数据从一个配置文件复制到另一个
- java - java - 如何检查在java中使用bubblesort对随机整数进行排序需要多长时间?
- node.js - '不支持使用 Node.js 解析 ES 模块的目录导入'
- php - 如何始终从大于 30 的日期范围中选择 30 个日期。并选择“中间”日期