New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled error detected in the injected client.js script. #1133
Comments
@ecl66 since upgrading what exactly? |
@Markzipan I believe you resolved this issue in the SDK. Does the user simply need to upgrade? |
The previous fix should've been cherry-picked into Dart 2.9.3. It's possible that a recent Chrome update changed some of our API expectations, as this kind of error implicates just a handful of special JS classes. @ecl66 and @Tobi696, do you both have an app or simple repro you can provide? |
It seems to be a problem with Chrome's API as it works in Microsoft Edge. |
@Markzipan I cannot give you access to my real project, but I just created a new project with |
@sigmundch is this related to dart-lang/sdk#43193 |
|
Yes, I do think this is highly related to the other issue.
We also recently saw an issue with @Markzipan is working on fixing this. |
I can repro this issue on revision |
…bject's prototype chain. See bugs: * dart-lang/webdev#1133 * #43750 Change-Id: I0daa13ab56be5a2967241a5fcea63a32c0a5cde4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167220 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> Reviewed-by: Mark Zhou <markzipan@google.com> Commit-Queue: Mark Zhou <markzipan@google.com>
Closing for now. Please reopen if upgrading your SDK does not resolve the issue. |
i had upgrade my dart sdk but it seems stuck tho with those error. what should i do next? |
Sorry to hear you are still stuck. Can you please share with us more details about your configuration and how you encountered the error? It would be very useful to see versions of your configuration (details from flutter doctor if you are using flutter). We are especially interested in seeing what version of the Dart SDK you are using and if the error happens on any code or only on some specific code in your app. |
Same error here, I literally didn't do anything.
|
It looks like you are using an older version of the SDK. You'll need to upgrade. You were broken due to an automatic update of Chrome. |
Do I just need to upgrade dart or Flutter as well? |
Upgraded Flutter, Upgraded Chrome worked for me! |
Hi everyone, for a couple of days I had been having trouble running Web Flutter on Chrome so I was using another browser like Edge. Now that I have updated Windows, Flutter web beta no longer starts in Chrome or Edge ... What can I do ??? .. I leave here the version I am using ... [√] Flutter (Channel beta, 1.21.0-9.1.pre, on Microsoft Windows [Versione 10.0.18363.1139] HELP PLEASE!!!! |
Resolved for Chrome but non for Edge from Android Studio !!So I ran the folder level update of my flutter web project: $ flutter channel beta OUTPUT: Running flutter doctor...
|
Latest Flutter 1.23.0-pre... beta seems to work perfectly. |
I'm facing the same issue when run the app from Android Studio on macOS. But it worked when I run the project from terminal with command I've on latest beta channel and chrome is also up to date. Below is the output of flutter doctor:
|
…bject's prototype chain. See bugs: * dart-lang/webdev#1133 * #43750 Change-Id: I0daa13ab56be5a2967241a5fcea63a32c0a5cde4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167220 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> Reviewed-by: Mark Zhou <markzipan@google.com> Commit-Queue: Mark Zhou <markzipan@google.com>
@AkshayNG is your Android Studio referencing a stale Dart / Flutter version? |
…bject's prototype chain. See bugs: * dart-lang/webdev#1133 * #43750 Change-Id: I0daa13ab56be5a2967241a5fcea63a32c0a5cde4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167220 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> Reviewed-by: Mark Zhou <markzipan@google.com> Commit-Queue: Mark Zhou <markzipan@google.com>
Since upgrading, I run into the following issue when debugging on Chrome device:
The text was updated successfully, but these errors were encountered: