rxlabz/panache

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

craigsdsgns opened this issue · 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)

me too

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

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

What beta channel?

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.

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

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."

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?

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

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