Flutter firebase主机错误-未捕获类型错误:无法读取null的属性(正在阅读“gCr”)

gcuhipw9  于 2023-02-13  发布在  Flutter
关注(0)|答案(2)|浏览(152)

在没有任何错误地完成了firebase托管之后,我进入站点并发现了这个错误,但是我不知道解决方案
这是错误

Uncaught TypeError: Cannot read properties of null (reading 'gCr')
at main.dart.js:43863:27
at ara.a (main.dart.js:5471:62)
at ara.$2 (main.dart.js:35989:14)
at aor.$1 (main.dart.js:35983:21)
at amc.ajB (main.dart.js:36791:34)
at amc.u2 (main.dart.js:36793:21)
at ajT.$0 (main.dart.js:36375:11)
at Object.x8 (main.dart.js:5584:40)
at a6.o3 (main.dart.js:36308:3)
at Rh.dq (main.dart.js:35978:8)
sc4hvdpw

sc4hvdpw1#

我们将确保部署文件夹是build/web plus

8mmmxcuj

8mmmxcuj2#

对我来说,我做了flutter clean -df来删除旧的构建。然后,flutter pub get && flutter build web --release && firebase deploy和它的工作。

相关问题