Dart DevTools exited with code 255 in brand new flutter installation
See original GitHub issueI am seeing this error message when trying to open DevTools from Visual Studio Code:
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:
- Created 3 years ago
- Reactions:4
- Comments:23 (10 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Running
pub global activate devtools
withoutflutter
in the beginning fixed the issue for me. Thank you very much for the help! 😃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.