Can't run flutter project in release or profile. In Debug it runs normally without any issue but in other cases I'm getting these error in 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)
My thoughts are that it is related to get_it but can't find any related issues...
Maybe somebody faced those issues and has solution? Thanks.
Aucun commentaire:
Enregistrer un commentaire