dart-lang / webdev

A CLI for Dart web development.
https://pub.dev/packages/webdev
212 stars 75 forks source link

Assertion failed: "boolean expression must not be null" as "flutter run web" tries to launch in chrome #2332

Closed DasTobbel closed 7 months ago

DasTobbel commented 8 months ago

Hello there,

upgraded android studio, upgraded Flutter and all my pub packages + pub upgrade - since then the project can't be run/started as web-app anymore. Any other run (linux/android) works fine. Tried to "flutter clean" but issue stays.

Chrome opens, no warn/error in the run console in android-studio or on the shell. ```console Launching lib/main.dart on Chrome in debug mode... Waiting for connection from debug service on Chrome... ```

Loading Bar visible in Chrome and the debug-console has an error. Nothing else happens.

This is the output which said i should report it here.

Console Output of Chrome (Version: Version 120.0.6099.199 (Official Build) (64-bit)) ```js Unhandled error detected in the injected client.js script. You can disable this script in webdev by passing --no-injected-client if it is preventing your app from loading, but note that this will also prevent all debugging and hot reload/restart functionality from working. The original error is below, please file an issue at Assertion failed: "boolean expression must not be null" Assertion failed: "boolean expression must not be null" at Object.wrapException (http://localhost:35921/dwds/src/injected/client.js:1420:43) at Object.assertThrow (http://localhost:35921/dwds/src/injected/client.js:1871:15) at Object.boolConversionCheck (http://localhost:35921/dwds/src/injected/client.js:1867:11) at http://localhost:35921/dwds/src/injected/client.js:25481:21 at _wrapJsFunctionForAsync_closure.$protected (http://localhost:35921/dwds/src/injected/client.js:4009:15) at _wrapJsFunctionForAsync_closure.call$2 (http://localhost:35921/dwds/src/injected/client.js:12242:12) at _awaitOnObject_closure.call$1 (http://localhost:35921/dwds/src/injected/client.js:12230:32) at StaticClosure._rootRunUnary (http://localhost:35921/dwds/src/injected/client.js:4391:18) at _CustomZone.runUnary$2$2 (http://localhost:35921/dwds/src/injected/client.js:13637:39) at _Future__propagateToListeners_handleValueCallback.call$0 (http://localhost:35921/dwds/src/injected/client.js:12668:51) at Object._Future__propagateToListeners (http://localhost:35921/dwds/src/injected/client.js:4174:93) at _Future._completeWithValue$1 (http://localhost:35921/dwds/src/injected/client.js:12504:9) at _AsyncAwaitCompleter.complete$1 (http://localhost:35921/dwds/src/injected/client.js:12216:14) at Object._asyncReturn (http://localhost:35921/dwds/src/injected/client.js:3981:17) at http://localhost:35921/dwds/src/injected/client.js:9758:24 at _wrapJsFunctionForAsync_closure.$protected (http://localhost:35921/dwds/src/injected/client.js:4009:15) at _wrapJsFunctionForAsync_closure.call$2 (http://localhost:35921/dwds/src/injected/client.js:12242:12) at _awaitOnObject_closure.call$1 (http://localhost:35921/dwds/src/injected/client.js:12230:32) at StaticClosure._rootRunUnary (http://localhost:35921/dwds/src/injected/client.js:4391:18) at _CustomZone.runUnary$2$2 (http://localhost:35921/dwds/src/injected/client.js:13637:39) at _Future__propagateToListeners_handleValueCallback.call$0 (http://localhost:35921/dwds/src/injected/client.js:12668:51) at Object._Future__propagateToListeners (http://localhost:35921/dwds/src/injected/client.js:4174:93) at _Future._completeWithValue$1 (http://localhost:35921/dwds/src/injected/client.js:12504:9) at _AsyncAwaitCompleter.complete$1 (http://localhost:35921/dwds/src/injected/client.js:12216:14) at Object._asyncReturn (http://localhost:35921/dwds/src/injected/client.js:3981:17) at http://localhost:35921/dwds/src/injected/client.js:26112:24 at _wrapJsFunctionForAsync_closure.$protected (http://localhost:35921/dwds/src/injected/client.js:4009:15) at _wrapJsFunctionForAsync_closure.call$2 (http://localhost:35921/dwds/src/injected/client.js:12242:12) at _awaitOnObject_closure.call$1 (http://localhost:35921/dwds/src/injected/client.js:12230:32) at StaticClosure._rootRunUnary (http://localhost:35921/dwds/src/injected/client.js:4391:18) at _CustomZone.runUnary$2$2 (http://localhost:35921/dwds/src/injected/client.js:13637:39) at _Future__propagateToListeners_handleValueCallback.call$0 (http://localhost:35921/dwds/src/injected/client.js:12668:51) at Object._Future__propagateToListeners (http://localhost:35921/dwds/src/injected/client.js:4174:93) at _Future._completeWithValue$1 (http://localhost:35921/dwds/src/injected/client.js:12504:9) at _AsyncAwaitCompleter.complete$1 (http://localhost:35921/dwds/src/injected/client.js:12216:14) at Object._asyncReturn (http://localhost:35921/dwds/src/injected/client.js:3981:17) at http://localhost:35921/dwds/src/injected/client.js:26089:24 at _wrapJsFunctionForAsync_closure.$protected (http://localhost:35921/dwds/src/injected/client.js:4009:15) at _wrapJsFunctionForAsync_closure.call$2 (http://localhost:35921/dwds/src/injected/client.js:12242:12) at _awaitOnObject_closure.call$1 (http://localhost:35921/dwds/src/injected/client.js:12230:32) at StaticClosure._rootRunUnary (http://localhost:35921/dwds/src/injected/client.js:4391:18) at _CustomZone.runUnary$2$2 (http://localhost:35921/dwds/src/injected/client.js:13637:39) at _Future__propagateToListeners_handleValueCallback.call$0 (http://localhost:35921/dwds/src/injected/client.js:12668:51) at Object._Future__propagateToListeners (http://localhost:35921/dwds/src/injected/client.js:4174:93) at _Future._completeWithValue$1 (http://localhost:35921/dwds/src/injected/client.js:12504:9) at _Future__asyncCompleteWithValue_closure.call$0 (http://localhost:35921/dwds/src/injected/client.js:12608:18) at StaticClosure._rootRun (http://localhost:35921/dwds/src/injected/client.js:4376:16) at _CustomZone.run$1$1 (http://localhost:35921/dwds/src/injected/client.js:13629:39) at _CustomZone.runGuarded$1 (http://localhost:35921/dwds/src/injected/client.js:13572:14) at _CustomZone_bindCallbackGuarded_closure.call$0 (http://localhost:35921/dwds/src/injected/client.js:13767:25) at Object._microtaskLoop (http://localhost:35921/dwds/src/injected/client.js:4235:24) at StaticClosure._startMicrotaskLoop (http://localhost:35921/dwds/src/injected/client.js:4241:11) at _AsyncRun__initializeScheduleImmediate_internalCallback.call$1 (http://localhost:35921/dwds/src/injected/client.js:12119:9) ```
Flutter Doctor: ```console [✓] Flutter (Channel stable, 3.16.5, on Ubuntu 22.04.3 LTS 6.2.0-39-generic, locale en_US.UTF-8) • Flutter version 3.16.5 on channel stable at /home/tweber/bin/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800 • Engine revision 3f3e560236 • Dart version 3.2.3 • DevTools version 2.28.4 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1) • Android SDK at /home/tweber/Android/Sdk • Platform android-33, build-tools 33.0.1 • Java binary at: /home/tweber/bin/android-studio/jbr/bin/java • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at google-chrome [✓] Linux toolchain - develop for Linux desktop • Ubuntu clang version 14.0.0-1ubuntu1.1 • cmake version 3.22.1 • ninja version 1.10.1 • pkg-config version 0.29.2 [✓] Android Studio (version 2023.1) • Android Studio at /home/tweber/bin/android-studio • Flutter plugin version 77.1.2 • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • android-studio-dir = /home/tweber/bin/android-studio • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314) [✓] Connected device (2 available) • Linux (desktop) • linux • linux-x64 • Ubuntu 22.04.3 LTS 6.2.0-39-generic • Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.199 [✓] Network resources • All expected network resources are available. • No issues found! ```

Anything more i can provide ? Or does somebody know what i should try? Thanks!

// edit: added Chrome Version

elliette commented 8 months ago

Hi @DasTobbel - thanks for the report.

To try to narrow this down a bit more, could you try running your app from the command line flutter run -d chrome and let me know if you see the same thing? Thanks!

DasTobbel commented 8 months ago

Hi @elliette sure thing, here you go:

user@system /this/is/my/paath/frontend (master *) $ flutter run -d chrome
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...             56.2s

Same results for flutter run --debug --no-devtools --no-dds --verbose-system-logs

And the chrome console output stays the same: ``` Unhandled error detected in the injected client.js script. You can disable this script in webdev by passing --no-injected-client if it is preventing your app from loading, but note that this will also prevent all debugging and hot reload/restart functionality from working. The original error is below, please file an issue at https://github.com/dart-lang/webdev/issues/new and attach this output: Assertion failed: "boolean expression must not be null" Assertion failed: "boolean expression must not be null" at Object.wrapException (http://localhost:43817/dwds/src/injected/client.js:1420:43) at Object.assertThrow (http://localhost:43817/dwds/src/injected/client.js:1871:15) at Object.boolConversionCheck (http://localhost:43817/dwds/src/injected/client.js:1867:11) at http://localhost:43817/dwds/src/injected/client.js:25481:21 at _wrapJsFunctionForAsync_closure.$protected (http://localhost:43817/dwds/src/injected/client.js:4009:15) at _wrapJsFunctionForAsync_closure.call$2 (http://localhost:43817/dwds/src/injected/client.js:12242:12) at _awaitOnObject_closure.call$1 (http://localhost:43817/dwds/src/injected/client.js:12230:32) at StaticClosure._rootRunUnary (http://localhost:43817/dwds/src/injected/client.js:4391:18) at _CustomZone.runUnary$2$2 (http://localhost:43817/dwds/src/injected/client.js:13637:39) at _Future__propagateToListeners_handleValueCallback.call$0 (http://localhost:43817/dwds/src/injected/client.js:12668:51) at Object._Future__propagateToListeners (http://localhost:43817/dwds/src/injected/client.js:4174:93) at _Future._completeWithValue$1 (http://localhost:43817/dwds/src/injected/client.js:12504:9) at _AsyncAwaitCompleter.complete$1 (http://localhost:43817/dwds/src/injected/client.js:12216:14) at Object._asyncReturn (http://localhost:43817/dwds/src/injected/client.js:3981:17) at http://localhost:43817/dwds/src/injected/client.js:9758:24 at _wrapJsFunctionForAsync_closure.$protected (http://localhost:43817/dwds/src/injected/client.js:4009:15) at _wrapJsFunctionForAsync_closure.call$2 (http://localhost:43817/dwds/src/injected/client.js:12242:12) at _awaitOnObject_closure.call$1 (http://localhost:43817/dwds/src/injected/client.js:12230:32) at StaticClosure._rootRunUnary (http://localhost:43817/dwds/src/injected/client.js:4391:18) at _CustomZone.runUnary$2$2 (http://localhost:43817/dwds/src/injected/client.js:13637:39) at _Future__propagateToListeners_handleValueCallback.call$0 (http://localhost:43817/dwds/src/injected/client.js:12668:51) at Object._Future__propagateToListeners (http://localhost:43817/dwds/src/injected/client.js:4174:93) at _Future._completeWithValue$1 (http://localhost:43817/dwds/src/injected/client.js:12504:9) at _AsyncAwaitCompleter.complete$1 (http://localhost:43817/dwds/src/injected/client.js:12216:14) at Object._asyncReturn (http://localhost:43817/dwds/src/injected/client.js:3981:17) at http://localhost:43817/dwds/src/injected/client.js:26112:24 at _wrapJsFunctionForAsync_closure.$protected (http://localhost:43817/dwds/src/injected/client.js:4009:15) at _wrapJsFunctionForAsync_closure.call$2 (http://localhost:43817/dwds/src/injected/client.js:12242:12) at _awaitOnObject_closure.call$1 (http://localhost:43817/dwds/src/injected/client.js:12230:32) at StaticClosure._rootRunUnary (http://localhost:43817/dwds/src/injected/client.js:4391:18) at _CustomZone.runUnary$2$2 (http://localhost:43817/dwds/src/injected/client.js:13637:39) at _Future__propagateToListeners_handleValueCallback.call$0 (http://localhost:43817/dwds/src/injected/client.js:12668:51) at Object._Future__propagateToListeners (http://localhost:43817/dwds/src/injected/client.js:4174:93) at _Future._completeWithValue$1 (http://localhost:43817/dwds/src/injected/client.js:12504:9) at _AsyncAwaitCompleter.complete$1 (http://localhost:43817/dwds/src/injected/client.js:12216:14) at Object._asyncReturn (http://localhost:43817/dwds/src/injected/client.js:3981:17) at http://localhost:43817/dwds/src/injected/client.js:26089:24 at _wrapJsFunctionForAsync_closure.$protected (http://localhost:43817/dwds/src/injected/client.js:4009:15) at _wrapJsFunctionForAsync_closure.call$2 (http://localhost:43817/dwds/src/injected/client.js:12242:12) at _awaitOnObject_closure.call$1 (http://localhost:43817/dwds/src/injected/client.js:12230:32) at StaticClosure._rootRunUnary (http://localhost:43817/dwds/src/injected/client.js:4391:18) at _CustomZone.runUnary$2$2 (http://localhost:43817/dwds/src/injected/client.js:13637:39) at _Future__propagateToListeners_handleValueCallback.call$0 (http://localhost:43817/dwds/src/injected/client.js:12668:51) at Object._Future__propagateToListeners (http://localhost:43817/dwds/src/injected/client.js:4174:93) at _Future._completeWithValue$1 (http://localhost:43817/dwds/src/injected/client.js:12504:9) at _Future__asyncCompleteWithValue_closure.call$0 (http://localhost:43817/dwds/src/injected/client.js:12608:18) at StaticClosure._rootRun (http://localhost:43817/dwds/src/injected/client.js:4376:16) at _CustomZone.run$1$1 (http://localhost:43817/dwds/src/injected/client.js:13629:39) at _CustomZone.runGuarded$1 (http://localhost:43817/dwds/src/injected/client.js:13572:14) at _CustomZone_bindCallbackGuarded_closure.call$0 (http://localhost:43817/dwds/src/injected/client.js:13767:25) at Object._microtaskLoop (http://localhost:43817/dwds/src/injected/client.js:4235:24) at StaticClosure._startMicrotaskLoop (http://localhost:43817/dwds/src/injected/client.js:4241:11) at _AsyncRun__initializeScheduleImmediate_internalCallback.call$1 (http://localhost:43817/dwds/src/injected/client.js:12119:9) ```
Btw. Running as "Release" works - so i don't think it has to do with any of the Apps startup process/the methods in it. ``` XXX: flutter run --release chrome Launching lib/main.dart on Chrome in release mode... Compiling lib/main.dart for the Web... 65.8s ``` And no Errors/Outputs in the chrome-console

Any more details i can provide? :)

elliette commented 8 months ago

Hmm it's suspicious that the error stack trace you provided doesn't match what I would expect based on the version of client.js that was released with DWDS version 21.0.0 (which is the version on Flutter 3.16.5): https://github.com/dart-lang/webdev/blob/85d4e76038fd270b1cb6de6721e07b1d87bfdf2e/dwds/lib/src/injected/client.js

Could you try two things for me?

  1. Could you open up Chrome DevTools, navigate to "Sources", click on "Open a file" and search for client.js. From there, could you let me know what the first few lines of the file say? Something like:
// Generated by dart2js (NullSafetyMode.sound, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 3.0.0-375.0.dev.
  1. Could you also try clearing the site storage and reloading the page? Chrome DevTools > Application > Storage > "Clear site data". I'm wondering if somehow client.js has been cached.
DasTobbel commented 8 months ago

I tried those two things:

For 1 - File: client.js - its version 3.2 ``` // Generated by dart2js (NullSafetyMode.sound, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.2.0-236.0.dev. // The code supports the following hooks: // dartPrint(message): // if this function is defined it is called instead of the Dart [print] // method. ... ```
As you said, it should be Version 3.0 - so i thought i add my current dependencies: ``` (master *) $ flutter pub deps Dart SDK 3.2.3 Flutter SDK 3.16.5 frontend 1.0.1+1 ├── animated_tree_view 2.1.0 │ ├── collection... │ ├── diffutil_dart... │ ├── flutter... │ └── scroll_to_index... ├── bloc 8.1.2 │ └── meta... ├── build_runner 2.4.7 │ ├── build_daemon 4.0.1 │ │ ├── built_collection 5.1.1 │ │ ├── built_value 8.8.1 │ │ │ ├── fixnum 1.1.0 │ │ │ ├── built_collection... │ │ │ ├── collection... │ │ │ └── meta... │ │ ├── crypto... │ │ ├── http_multi_server... │ │ ├── logging... │ │ ├── path... │ │ ├── pool... │ │ ├── shelf... │ │ ├── shelf_web_socket... │ │ ├── stream_transform... │ │ ├── watcher... │ │ └── web_socket_channel... │ ├── build_resolvers 2.4.2 │ │ ├── analyzer... │ │ ├── async... │ │ ├── build... │ │ ├── collection... │ │ ├── convert... │ │ ├── crypto... │ │ ├── graphs... │ │ ├── logging... │ │ ├── package_config... │ │ ├── path... │ │ ├── pool... │ │ ├── pub_semver... │ │ ├── stream_transform... │ │ └── yaml... │ ├── build_runner_core 7.2.11 │ │ ├── async... │ │ ├── build... │ │ ├── build_config... │ │ ├── build_resolvers... │ │ ├── collection... │ │ ├── convert... │ │ ├── crypto... │ │ ├── glob... │ │ ├── graphs... │ │ ├── json_annotation... │ │ ├── logging... │ │ ├── meta... │ │ ├── package_config... │ │ ├── path... │ │ ├── pool... │ │ ├── timing... │ │ ├── watcher... │ │ └── yaml... │ ├── code_builder 4.10.0 │ │ ├── built_collection... │ │ ├── built_value... │ │ ├── collection... │ │ ├── matcher... │ │ └── meta... │ ├── dart_style 2.3.4 │ │ ├── analyzer... │ │ ├── args... │ │ ├── collection... │ │ ├── path... │ │ ├── pub_semver... │ │ └── source_span... │ ├── frontend_server_client 3.2.0 │ │ ├── async... │ │ └── path... │ ├── glob 2.1.2 │ │ ├── async... │ │ ├── collection... │ │ ├── file... │ │ ├── path... │ │ └── string_scanner... │ ├── graphs 2.3.1 │ │ └── collection... │ ├── http_multi_server 3.2.1 │ │ └── async... │ ├── io 1.0.4 │ │ ├── meta... │ │ ├── path... │ │ └── string_scanner... │ ├── package_config 2.1.0 │ │ └── path... │ ├── pool 1.5.1 │ │ ├── async... │ │ └── stack_trace... │ ├── shelf 1.4.1 │ │ ├── async... │ │ ├── collection... │ │ ├── http_parser... │ │ ├── path... │ │ ├── stack_trace... │ │ └── stream_channel... │ ├── shelf_web_socket 1.0.4 │ │ ├── shelf... │ │ ├── stream_channel... │ │ └── web_socket_channel... │ ├── stream_transform 2.1.0 │ ├── timing 1.0.1 │ │ └── json_annotation... │ ├── watcher 1.1.0 │ │ ├── async... │ │ └── path... │ ├── web_socket_channel 2.4.3 │ │ ├── async... │ │ ├── crypto... │ │ ├── stream_channel... │ │ └── web... │ ├── analyzer... │ ├── args... │ ├── async... │ ├── build... │ ├── build_config... │ ├── collection... │ ├── crypto... │ ├── js... │ ├── logging... │ ├── meta... │ ├── mime... │ ├── path... │ ├── pub_semver... │ ├── pubspec_parse... │ ├── stack_trace... │ └── yaml... ├── cached_network_image 3.3.1 │ ├── cached_network_image_platform_interface 4.0.0 │ │ ├── flutter... │ │ └── flutter_cache_manager... │ ├── cached_network_image_web 1.1.1 │ │ ├── cached_network_image_platform_interface... │ │ ├── flutter... │ │ └── flutter_cache_manager... │ ├── flutter_cache_manager 3.3.1 │ │ ├── http 1.1.2 │ │ │ ├── async... │ │ │ ├── http_parser... │ │ │ ├── meta... │ │ │ └── web... │ │ ├── rxdart 0.27.7 │ │ ├── sqflite 2.3.0 │ │ │ ├── sqflite_common 2.5.0+2 │ │ │ │ ├── synchronized 3.1.0+1 │ │ │ │ ├── meta... │ │ │ │ └── path... │ │ │ ├── flutter... │ │ │ └── path... │ │ ├── clock... │ │ ├── collection... │ │ ├── file... │ │ ├── flutter... │ │ ├── path... │ │ ├── path_provider... │ │ └── uuid... │ ├── octo_image 2.0.0 │ │ └── flutter... │ └── flutter... ├── cupertino_icons 1.0.6 ├── device_info_plus 9.1.1 │ ├── device_info_plus_platform_interface 7.0.0 │ │ ├── flutter... │ │ ├── meta... │ │ └── plugin_platform_interface... │ ├── ffi 2.1.0 │ ├── file 7.0.0 │ │ ├── meta... │ │ └── path... │ ├── win32 5.2.0 │ │ └── ffi... │ ├── win32_registry 1.1.2 │ │ ├── ffi... │ │ └── win32... │ ├── flutter... │ ├── flutter_web_plugins... │ └── meta... ├── dio 5.4.0 │ ├── async 2.11.0 │ │ ├── collection... │ │ └── meta... │ ├── http_parser 4.0.2 │ │ ├── typed_data 1.3.2 │ │ │ └── collection... │ │ ├── collection... │ │ ├── source_span... │ │ └── string_scanner... │ ├── meta... │ └── path... ├── equatable 2.0.5 │ ├── collection... │ └── meta... ├── file_picker 6.1.1 │ ├── flutter_plugin_android_lifecycle 2.0.17 │ │ └── flutter... │ ├── plugin_platform_interface 2.1.8 │ │ └── meta... │ ├── ffi... │ ├── flutter... │ ├── flutter_web_plugins... │ ├── path... │ └── win32... ├── fl_chart 0.66.0 │ ├── equatable... │ └── flutter... ├── flex_color_picker 3.3.0 │ ├── flex_seed_scheme 1.4.0 │ │ ├── collection... │ │ ├── flutter... │ │ └── meta... │ └── flutter... ├── flutter 0.0.0 │ ├── characters 1.3.0 │ ├── collection 1.18.0 │ ├── material_color_utilities 0.5.0 │ │ └── collection... │ ├── meta 1.11.0 │ ├── sky_engine 0.0.99 │ ├── vector_math 2.1.4 │ └── web... ├── flutter_adaptive_scaffold 0.1.7+2 │ └── flutter... ├── flutter_animate 4.4.0 │ └── flutter... ├── flutter_bloc 8.1.3 │ ├── bloc... │ ├── flutter... │ └── provider... ├── flutter_chat_ui 1.6.10 │ ├── diffutil_dart 3.0.0 │ ├── flutter_chat_types 3.6.2 │ │ ├── equatable... │ │ ├── json_annotation... │ │ └── meta... │ ├── flutter_link_previewer 3.2.2 │ │ ├── flutter_linkify 6.0.0 │ │ │ ├── flutter... │ │ │ └── linkify... │ │ ├── html 0.15.4 │ │ │ ├── csslib 1.0.0 │ │ │ │ └── source_span... │ │ │ └── source_span... │ │ ├── linkify 5.0.0 │ │ ├── flutter... │ │ ├── flutter_chat_types... │ │ ├── http... │ │ ├── meta... │ │ └── url_launcher... │ ├── flutter_parsed_text 2.2.1 │ │ └── flutter... │ ├── photo_view 0.14.0 │ │ └── flutter... │ ├── scroll_to_index 3.0.1 │ │ └── flutter... │ ├── visibility_detector 0.4.0+2 │ │ └── flutter... │ ├── equatable... │ ├── flutter... │ ├── intl... │ ├── meta... │ └── url_launcher... ├── flutter_launcher_icons 0.13.1 │ ├── args 2.4.2 │ ├── checked_yaml 2.0.3 │ │ ├── json_annotation... │ │ ├── source_span... │ │ └── yaml... │ ├── cli_util 0.4.1 │ │ ├── meta... │ │ └── path... │ ├── image 4.1.3 │ │ ├── archive 3.4.10 │ │ │ ├── pointycastle 3.7.3 │ │ │ │ ├── collection... │ │ │ │ ├── convert... │ │ │ │ └── js... │ │ │ ├── crypto... │ │ │ └── path... │ │ ├── xml 6.5.0 │ │ │ ├── petitparser 6.0.2 │ │ │ │ └── meta... │ │ │ ├── collection... │ │ │ └── meta... │ │ └── meta... │ ├── yaml 3.1.2 │ │ ├── collection... │ │ ├── source_span... │ │ └── string_scanner... │ ├── json_annotation... │ └── path... ├── flutter_lints 3.0.1 │ └── lints 3.0.0 ├── flutter_localizations 0.0.0 │ ├── clock 1.1.1 │ ├── path 1.9.0 │ ├── characters... │ ├── collection... │ ├── flutter... │ ├── intl... │ ├── material_color_utilities... │ ├── meta... │ ├── vector_math... │ └── web... ├── flutter_secure_storage 9.0.0 │ ├── flutter_secure_storage_linux 1.2.0 │ │ ├── flutter... │ │ └── flutter_secure_storage_platform_interface... │ ├── flutter_secure_storage_macos 3.0.1 │ │ ├── flutter... │ │ └── flutter_secure_storage_platform_interface... │ ├── flutter_secure_storage_platform_interface 1.0.2 │ │ ├── flutter... │ │ └── plugin_platform_interface... │ ├── flutter_secure_storage_web 1.1.2 │ │ ├── flutter... │ │ ├── flutter_secure_storage_platform_interface... │ │ ├── flutter_web_plugins... │ │ └── js... │ ├── flutter_secure_storage_windows 3.0.0 │ │ ├── ffi... │ │ ├── flutter... │ │ ├── flutter_secure_storage_platform_interface... │ │ ├── path... │ │ ├── path_provider... │ │ └── win32... │ ├── flutter... │ └── meta... ├── flutter_staggered_grid_view 0.7.0 │ └── flutter... ├── flutter_test 0.0.0 │ ├── boolean_selector 2.1.1 │ │ ├── source_span... │ │ └── string_scanner... │ ├── fake_async 1.3.1 │ │ ├── clock... │ │ └── collection... │ ├── matcher 0.12.16+1 │ │ ├── async... │ │ ├── meta... │ │ ├── stack_trace... │ │ ├── term_glyph... │ │ └── test_api... │ ├── source_span 1.10.0 │ │ ├── collection... │ │ ├── path... │ │ └── term_glyph... │ ├── stack_trace 1.11.1 │ │ └── path... │ ├── stream_channel 2.1.2 │ │ └── async... │ ├── string_scanner 1.2.0 │ │ └── source_span... │ ├── term_glyph 1.2.1 │ ├── test_api 0.7.0 │ │ ├── async... │ │ ├── boolean_selector... │ │ ├── collection... │ │ ├── meta... │ │ ├── source_span... │ │ ├── stack_trace... │ │ ├── stream_channel... │ │ ├── string_scanner... │ │ └── term_glyph... │ ├── async... │ ├── characters... │ ├── clock... │ ├── collection... │ ├── flutter... │ ├── material_color_utilities... │ ├── meta... │ ├── path... │ ├── vector_math... │ └── web... ├── flutter_typeahead 5.0.1 │ ├── flutter_keyboard_visibility 5.4.1 │ │ ├── flutter_keyboard_visibility_linux 1.0.0 │ │ │ ├── flutter... │ │ │ └── flutter_keyboard_visibility_platform_interface... │ │ ├── flutter_keyboard_visibility_macos 1.0.0 │ │ │ ├── flutter... │ │ │ └── flutter_keyboard_visibility_platform_interface... │ │ ├── flutter_keyboard_visibility_platform_interface 2.0.0 │ │ │ ├── flutter... │ │ │ ├── meta... │ │ │ └── plugin_platform_interface... │ │ ├── flutter_keyboard_visibility_web 2.0.0 │ │ │ ├── flutter... │ │ │ ├── flutter_keyboard_visibility_platform_interface... │ │ │ └── flutter_web_plugins... │ │ ├── flutter_keyboard_visibility_windows 1.0.0 │ │ │ ├── flutter... │ │ │ └── flutter_keyboard_visibility_platform_interface... │ │ ├── flutter... │ │ └── meta... │ ├── pointer_interceptor 0.9.3+7 │ │ └── flutter... │ └── flutter... ├── flutter_web_plugins 0.0.0 │ ├── characters... │ ├── collection... │ ├── flutter... │ ├── material_color_utilities... │ ├── meta... │ ├── vector_math... │ └── web... ├── geolocator 10.1.0 │ ├── geolocator_android 4.4.0 │ │ ├── flutter... │ │ ├── geolocator_platform_interface... │ │ └── uuid... │ ├── geolocator_apple 2.3.4 │ │ ├── flutter... │ │ └── geolocator_platform_interface... │ ├── geolocator_platform_interface 4.2.0 │ │ ├── flutter... │ │ ├── meta... │ │ ├── plugin_platform_interface... │ │ └── vector_math... │ ├── geolocator_web 2.2.0 │ │ ├── flutter... │ │ ├── flutter_web_plugins... │ │ └── geolocator_platform_interface... │ ├── geolocator_windows 0.2.2 │ │ ├── flutter... │ │ └── geolocator_platform_interface... │ └── flutter... ├── go_router 13.0.1 │ ├── logging 1.2.0 │ ├── collection... │ ├── flutter... │ ├── flutter_web_plugins... │ └── meta... ├── google_maps_flutter 2.5.2 │ ├── google_maps_flutter_android 2.6.2 │ │ ├── flutter... │ │ ├── flutter_plugin_android_lifecycle... │ │ ├── google_maps_flutter_platform_interface... │ │ └── stream_transform... │ ├── google_maps_flutter_ios 2.3.5 │ │ ├── flutter... │ │ ├── google_maps_flutter_platform_interface... │ │ └── stream_transform... │ ├── google_maps_flutter_platform_interface 2.4.3 │ │ ├── collection... │ │ ├── flutter... │ │ ├── plugin_platform_interface... │ │ └── stream_transform... │ ├── google_maps_flutter_web 0.5.4+3 │ │ ├── google_maps 6.3.0 │ │ │ ├── js_wrapping 0.7.4 │ │ │ │ └── js... │ │ │ ├── js... │ │ │ └── meta... │ │ ├── sanitize_html 2.1.0 │ │ │ ├── html... │ │ │ └── meta... │ │ ├── collection... │ │ ├── flutter... │ │ ├── flutter_web_plugins... │ │ ├── google_maps_flutter_platform_interface... │ │ └── stream_transform... │ └── flutter... ├── graphview 1.2.0 │ ├── collection... │ └── flutter... ├── hive 2.2.3 │ ├── crypto... │ └── meta... ├── hive_flutter 1.1.0 │ ├── flutter... │ ├── hive... │ ├── path... │ └── path_provider... ├── hive_generator 2.0.1 │ ├── analyzer... │ ├── build... │ ├── hive... │ ├── source_gen... │ └── source_helper... ├── image_picker 1.0.7 │ ├── image_picker_android 0.8.9+2 │ │ ├── flutter... │ │ ├── flutter_plugin_android_lifecycle... │ │ └── image_picker_platform_interface... │ ├── image_picker_for_web 3.0.2 │ │ ├── flutter... │ │ ├── flutter_web_plugins... │ │ ├── image_picker_platform_interface... │ │ └── mime... │ ├── image_picker_ios 0.8.9 │ │ ├── flutter... │ │ └── image_picker_platform_interface... │ ├── image_picker_linux 0.2.1+1 │ │ ├── file_selector_linux 0.9.2+1 │ │ │ ├── cross_file... │ │ │ ├── file_selector_platform_interface... │ │ │ └── flutter... │ │ ├── file_selector_platform_interface 2.6.2 │ │ │ ├── cross_file... │ │ │ ├── flutter... │ │ │ ├── http... │ │ │ └── plugin_platform_interface... │ │ ├── flutter... │ │ └── image_picker_platform_interface... │ ├── image_picker_macos 0.2.1+1 │ │ ├── file_selector_macos 0.9.3+3 │ │ │ ├── cross_file... │ │ │ ├── file_selector_platform_interface... │ │ │ └── flutter... │ │ ├── file_selector_platform_interface... │ │ ├── flutter... │ │ └── image_picker_platform_interface... │ ├── image_picker_platform_interface 2.9.3 │ │ ├── cross_file 0.3.3+8 │ │ │ ├── meta... │ │ │ └── web... │ │ ├── flutter... │ │ ├── http... │ │ └── plugin_platform_interface... │ ├── image_picker_windows 0.2.1+1 │ │ ├── file_selector_windows 0.9.3+1 │ │ │ ├── cross_file... │ │ │ ├── file_selector_platform_interface... │ │ │ └── flutter... │ │ ├── file_selector_platform_interface... │ │ ├── flutter... │ │ └── image_picker_platform_interface... │ └── flutter... ├── intl 0.18.1 │ ├── clock... │ ├── meta... │ └── path... ├── json_annotation 4.8.1 │ └── meta... ├── json_serializable 6.7.1 │ ├── analyzer 6.3.0 │ │ ├── _fe_analyzer_shared 65.0.0 │ │ │ └── meta... │ │ ├── convert 3.1.1 │ │ │ └── typed_data... │ │ ├── collection... │ │ ├── crypto... │ │ ├── glob... │ │ ├── meta... │ │ ├── package_config... │ │ ├── path... │ │ ├── pub_semver... │ │ ├── source_span... │ │ ├── watcher... │ │ └── yaml... │ ├── build 2.4.1 │ │ ├── analyzer... │ │ ├── async... │ │ ├── convert... │ │ ├── crypto... │ │ ├── glob... │ │ ├── logging... │ │ ├── meta... │ │ ├── package_config... │ │ └── path... │ ├── build_config 1.1.1 │ │ ├── checked_yaml... │ │ ├── json_annotation... │ │ ├── path... │ │ ├── pubspec_parse... │ │ └── yaml... │ ├── pub_semver 2.1.4 │ │ ├── collection... │ │ └── meta... │ ├── pubspec_parse 1.2.3 │ │ ├── checked_yaml... │ │ ├── collection... │ │ ├── json_annotation... │ │ ├── pub_semver... │ │ └── yaml... │ ├── source_gen 1.5.0 │ │ ├── analyzer... │ │ ├── async... │ │ ├── build... │ │ ├── dart_style... │ │ ├── glob... │ │ ├── path... │ │ ├── source_span... │ │ └── yaml... │ ├── source_helper 1.3.4 │ │ ├── analyzer... │ │ ├── collection... │ │ └── source_gen... │ ├── async... │ ├── collection... │ ├── json_annotation... │ ├── meta... │ └── path... ├── mime 1.0.4 ├── mobile_scanner 3.5.6 │ ├── js 0.6.7 │ │ └── meta... │ ├── flutter... │ └── flutter_web_plugins... ├── open_filex 4.3.4 │ ├── ffi... │ └── flutter... ├── path_provider 2.1.2 │ ├── path_provider_android 2.2.2 │ │ ├── flutter... │ │ └── path_provider_platform_interface... │ ├── path_provider_foundation 2.3.1 │ │ ├── flutter... │ │ └── path_provider_platform_interface... │ ├── path_provider_linux 2.2.1 │ │ ├── xdg_directories 1.0.4 │ │ │ ├── meta... │ │ │ └── path... │ │ ├── ffi... │ │ ├── flutter... │ │ ├── path... │ │ └── path_provider_platform_interface... │ ├── path_provider_platform_interface 2.1.2 │ │ ├── platform 3.1.4 │ │ ├── flutter... │ │ └── plugin_platform_interface... │ ├── path_provider_windows 2.2.1 │ │ ├── ffi... │ │ ├── flutter... │ │ ├── path... │ │ ├── path_provider_platform_interface... │ │ └── win32... │ └── flutter... ├── provider 6.1.1 │ ├── nested 1.0.0 │ │ └── flutter... │ ├── collection... │ └── flutter... ├── url_launcher 6.2.3 │ ├── url_launcher_android 6.2.2 │ │ ├── flutter... │ │ └── url_launcher_platform_interface... │ ├── url_launcher_ios 6.2.3 │ │ ├── flutter... │ │ └── url_launcher_platform_interface... │ ├── url_launcher_linux 3.1.1 │ │ ├── flutter... │ │ └── url_launcher_platform_interface... │ ├── url_launcher_macos 3.1.0 │ │ ├── flutter... │ │ └── url_launcher_platform_interface... │ ├── url_launcher_platform_interface 2.3.1 │ │ ├── flutter... │ │ └── plugin_platform_interface... │ ├── url_launcher_web 2.2.3 │ │ ├── flutter... │ │ ├── flutter_web_plugins... │ │ ├── url_launcher_platform_interface... │ │ └── web... │ ├── url_launcher_windows 3.1.1 │ │ ├── flutter... │ │ └── url_launcher_platform_interface... │ └── flutter... ├── uuid 4.3.1 │ ├── crypto 3.0.3 │ │ └── typed_data... │ ├── sprintf 7.0.0 │ └── meta... └── web 0.3.0 ```

For the clearing of app caches etc, already did this, but nothing changed sadly.

elliette commented 7 months ago

Hi @DasTobbel - a new version of Flutter stable was just released. Could you try running flutter upgrade to see if that solves the issue for you? Thanks!

DasTobbel commented 7 months ago

Yepp, its solved, whatever it was...

flutter upgrade
flutter clean
flutter pub get
flutter pub upgrade
flutter run chrome

DId it and its back to working.