Dart 1.4.2 is not supporting on new chrome version

52 views
Skip to first unread message

Adil Butt

unread,
Sep 15, 2020, 8:28:08 AM9/15/20
to Dart Web Development

We have developed an application on the dart version 1.4.2 and has a pubspec.yaml following configuration


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

It is running fine on chrome version 77.0.3865.120, but when I upgrade the chrome version, so dart is not working or not supporting properly.It generates following error in the 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)"

The translation is not working anymore on the webpage and It is apperaing as it is, we have in the code. For example {{ctrl.cardInfoModel.getBalanceFixed()}}


Any help would be appreciated.

Sandro Bilbeisi

unread,
Sep 16, 2020, 8:39:50 AM9/16/20
to Dart Web Development, aad...@gmail.com
Ahem , the current stable version of Dart is 2.9.2
and the current version of Angular Dart is 5.3.1

your codebase is way too old !!
you should make an effort to upgrade your app to the new platforms

Sandro Bilbeisi

unread,
Sep 16, 2020, 8:42:20 AM9/16/20
to Dart Web Development, Sandro Bilbeisi, aad...@gmail.com
Well, actually the latest version of Dart is now 2.9.3 !

Muhammad Adil

unread,
Sep 16, 2020, 12:11:10 PM9/16/20
to Sandro Bilbeisi, Dart Web Development
Thanks for your reply.

If I understood you right, it means that dart 1.4.2 is not supported anymore on new chrome version.

Do you know what kind of changes make dart 1.4.2 unstable on the new chrome version?

Thanks in advance

Best Regard / Med Venlig Hilsen
Adil

On 16 Sep 2020, at 14.42, Sandro Bilbeisi <sandro....@gmail.com> wrote:

Well, actually the latest version of Dart is now 2.9.3 !
Reply all
Reply to author
Forward
0 new messages