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版本后的状态。

之前

enter image description here

更新为新的Chrome版本后

enter image description here

您可以看到网页上的翻译不再有效,并且代码中已经显示了它。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)