【发布时间】:2021-12-17 00:42:37
【问题描述】:
无法在版本或配置文件中运行颤振项目。在 Debug 中它正常运行,没有任何问题,但在其他情况下,我在 Chrome 中遇到这些错误:
zone.dart:1413
Uncaught TypeError: Cannot read properties of null (reading 'isAsync')
at _GetItImplementation.$get$1$3$instanceName$param1$param2 (:61215/main.dart.js:164051)
at _GetItImplementation.call$1$0 (:61215/main.dart.js:164063)
at _GetItImplementation.call$0 (:61215/main.dart.js:164066)
at :61215/main.dart.js:45288
at _wrapJsFunctionForAsync_closure.$protected (:61215/main.dart.js:27970)
at _wrapJsFunctionForAsync_closure.call$2 (:61215/main.dart.js:69886)
at _awaitOnObject_closure.call$1 (:61215/main.dart.js:69874)
at _RootZone.runUnary$2$2 (:61215/main.dart.js:72668)
at _Future__propagateToListeners_handleValueCallback.call$0 (:61215/main.dart.js:70794)
at Object._Future__propagateToListeners (:61215/main.dart.js:28268)
我的想法是它与get_it有关,但找不到任何相关问题...
也许有人遇到了这些问题并有解决方案? 谢谢。
【问题讨论】:
标签: flutter google-chrome web flutter-web