question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dart DevTools exited with code 255 in brand new flutter installation

See original GitHub issue

I am seeing this error message when trying to open DevTools from Visual Studio Code:

image

image

I tried running flutter pub global activate devtools but this didn’t fix the issue. I also tried running flutter pub global run devtools, but then I see this other error:

pub finished with exit code 65

I am not sure which other information is needed, so please let me know in case I need to provide anything else

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:23 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
pedromtcostacommented, May 7, 2020

Running pub global activate devtools without flutter in the beginning fixed the issue for me. Thank you very much for the help! 😃

2reactions
DanTupcommented, Oct 4, 2020

The issue was introduced with a DevTools update that just happened to go out around the same time as the Flutter update. VS Code will have auto-updated your DevTools to the latest one and then hit this issue.

Installing Google Chrome is the only workaround I know of until the DevTools fix is available in a release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to start DevTools: Dart DevTools exited with code 255
You can try fixing it by running this in the terminal: Just copy and paste the below code into the terminal and run...
Read more >
Flutter Failed to start DevTools: Dart DevTools exited with ...
Flutter Failed to start DevTools: Dart DevTools exited with code 255 ... The error described on the title occurred after I updated SDK...
Read more >
Failed to start DevTools: Dart DevTools exited with code 255.
I've had this issue when using Flutter 2.2.3 and on Flutter 2.8 the error not appearing.
Read more >
Dart DevTools exited with code 255-Flutter - appsloveworld
You can try fixing it by running this in the terminal: Just copy and paste the below code into the terminal and run...
Read more >
Keep failing to generate RealmModel - Realm - MongoDB
Update Flutter and Dart to the latest one (Flutter 3.3.8, Dart 2.18.4). Repro Steps. Add the code snippet below (RealmModels.dart) to a flutter...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found