panache icon indicating copy to clipboard operation
panache copied to clipboard

null is not an object (evaluating 'J.dh(a).dv') after clicking on theme controls 7 or 8 times

Open craigsdsgns opened this issue 4 years ago • 9 comments

Freezes in both Safari and Chrome on Mac after clicking on theme controls 7 or 8 times.

[Error] Failed to load resource: the server responded with a status of 404 () (main.dart.js.map, line 0) [Error] TypeError: null is not an object (evaluating 'J.dh(a).dv') cj (main.dart.js:2645) ri (main.dart.js:19133) $1 (main.dart.js:18040) ai0 (main.dart.js:1961) (anonymous function) (main.dart.js:1969)

craigsdsgns avatar Mar 05 '20 18:03 craigsdsgns

me too

SF-Simon avatar Mar 25 '20 09:03 SF-Simon

Current workout download the app and run it locally on beta channel it works fine

jugal13 avatar Mar 29 '20 20:03 jugal13

Current workout download the app and run it locally on beta channel it works fine

What beta channel?

craigsdsgns avatar Apr 13 '20 18:04 craigsdsgns

Current workout download the app and run it locally on beta channel it works fine

what beta channel?? give us a link to download this.

nicodoss avatar May 02 '20 10:05 nicodoss

Clone the repo change to beta channel and run the app using flutter run in chrome after enabling it for web

jugal13 avatar May 09 '20 23:05 jugal13

Confirmed workaround, locally works. Despite this, other issues cropped up when trying to download the dart file.

Error message was "Dart function requires allowInterop to be passed to JavaScript."

shptecheu avatar Jun 08 '20 16:06 shptecheu

I cloned the repo and changed to the beta channel and enabled Flutter web, but it still doesn't compile and run. I get the following message

Target dart2js failed: Exception: ../panache_ui/lib/src/screens/editor/controls/color_picker/color_slider.dart:110 1:9: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. const GradientSliderThemeData({ ^^^^^^^^^^^^^^^^^^^^^^^ Error: Compilation failed.

I also tried changing the dependency versions in the pubspec.yaml to any but still no luck. Any one know a workaround?

luigi741 avatar Jun 21 '20 20:06 luigi741

Current workout download the app and run it locally on beta channel it works fine

What beta channel?

read this https://flutter.dev/docs/get-started/web

Ghassan-Aljaafri avatar Jul 03 '20 17:07 Ghassan-Aljaafri

Current workout download the app and run it locally on beta channel it works fine

what beta channel?? give us a link to download this.

read This https://flutter.dev/docs/get-started/web Clone the repo to change to beta channel and run the app using flutter run in chrome after enabling it for web

flutter channel beta
flutter upgrade
flutter config --enable-web

Ghassan-Aljaafri avatar Jul 03 '20 17:07 Ghassan-Aljaafri