如何解决Dart 1.4.2不支持新的Chrome版本
我们已经在dart 1.4.2版上开发了一个应用程序,并具有pubspec.yaml以下配置
dependencies:
browser: any
angular: 0.12.0
angular_ui: ">=0.5.1 <0.6.0"
logging: ">=0.9.1+1 <0.10.0"
json_object: any
js: 0.2.2
它在chrome版本77.0.3865.120上运行良好,但是当我升级chrome版本时,dart无法正常工作或无法正常支持。它会在Web Developer Tool Console中产生以下错误。
"NullError: Cannot call "call" on null↵↵STACKTRACE:↵TypeError: Cannot read property 'call' of undefined↵
at qEj.cv.er (https://localhost/xxxx/secure/secure.dart.js:46593:70)↵
at ecJ.$6 https://localhost/xxxx/secure/secure.dart.js:6898:5)↵
at Wan.$1 (https://localhost/xxxx/secure/secure.dart.js:6887:5)↵
at dx.wh (https://localhost/xxxx/secure/secure.dart.js:59133:32)↵
at dx.h2 (https://localhost/xxxx/secure/secure.dart.js:59134:37)↵
at qo.ymM.Ix (https://localhost/xxxx/secure/secure.dart.js:58919:49)↵
at qo.ymM.y6 (https://localhost/xxxx/secure/secure.dart.js:58932:29)↵
at atm.$1 (https://localhost/xxxx/secure/secure.dart.js:5860:10)↵
at dart.bQ (https://localhost/xxxx/secure/secure.dart.js:17363:29)↵
at Gv.Q.aN (https://localhost/xxxx/secure/secure.dart.js:2512:28)"
我还在图像前后添加了chrome版本77.0.3865.120的状态以及更新到新的chrome版本后的状态。
更新为新的Chrome版本后
您可以看到网页上的翻译不再有效,并且代码中已经显示了它。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。