“ChromeProxyService:无法评估表达式”错误

发布于 2025-01-12 19:15:33 字数 380 浏览 4 评论 0原文

当我想通过 flutter 使用 chrome 设备启动我的项目时,出现此错误。

错误如下; 输入图像描述这里

并且 VS Code 重定向到这一行; 输入图像描述这里

由于这些错误,chrome 模拟器停留在白屏上(不工作)。 我该如何解决这个问题?

I get this error when I want to start my project with chrome device via flutter.

The error is as follows;
enter image description here

And vs code redirects to this line ;
enter image description here

Because of these errors chrome emulator stays on white screen (not working).
How do I fix this problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

溺ぐ爱和你が 2025-01-19 19:15:33

更新到 Chrome v100 后,Chrome 中的调试存在一些问题,这些问题已在 Flutter v2.10.5 中修复,可以解决这些问题:

https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel#2105-april-18-2022

flutter/101224 - 使用 chrome 100 或更高版本时 Flutter Web 调试器失败。

There were some issues with debugging in Chrome after updating to Chrome v100 which have been fixed in Flutter v2.10.5 that may solve these issues:

https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel#2105-april-18-2022

flutter/101224 - Flutter web debugger fails when using chrome 100 or greater.

另类 2025-01-19 19:15:33

我遇到了类似的问题,这是由旧的依赖项引起的,并通过清除酒吧缓存来解决它。

在工作目录中运行 flutter pub cache clean,然后重新运行 flutter pub get

I had the similar issue, which is caused by an old dependency, and resolved it by clearing the pub cache.

Run flutter pub cache clean in the working directory, then rerun flutter pub get.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文