herik06
herik06

Reputation: 197

"ChromeProxyService: Failed to evaluate expression" error

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?

Upvotes: 8

Views: 7794

Answers (2)

hnfothmn
hnfothmn

Reputation: 1

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.

Upvotes: 0

Danny Tuppeny
Danny Tuppeny

Reputation: 42413

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.

Upvotes: 2

Related Questions