You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i was not aware of capture logs and thanks to that i fixed it. i copied devtools-0.1.11 from an other user and now it's working as expected but still I'm wondering what is the recommended way to repopulate this directory .pub-cache/hosted/pub.dartlang.org/
also is it is it normal that my log shows : Flutter extension: 3.6.0 (not activated)
thanks a bunch
[5:57:23 AM] [DevTools] [Info] Spawning /Users/adtw/flutter/bin/cache/dart-sdk/bin/pub with args ["global","run","devtools","--machine","--enable-notifications","--try-ports","10"]
[5:57:23 AM] [DevTools] [Info] PID: 556
[5:57:23 AM] [DevTools] [Error] Could not find a file named "pubspec.yaml" in "/Users/adtw/.pub-cache/hosted/pub.dartlang.org/devtools-0.1.11".
[5:57:23 AM] [DevTools] [Error]
[5:57:24 AM] [DevTools] [Info] Process terminated! 66, null
[5:57:24 AM] [General] [Error] Dart DevTools exited with code 66
[5:57:24 AM] [General] [Error] Dart DevTools exited with code 66
Weird - I'm not sure how that folder would end up without a pubspec.
The easiest way to fix is probably running pub global deactivate devtools then pub global activate devtools (though the second step will be run by the VS Code extension if you try to launch DevTools and it's not activated).
also is it is it normal that my log shows : Flutter extension: 3.6.0 (not activated)
If you've opened a folder that isn't a Flutter app, this is normal. If it is a Flutter app, then it suggests for some reason we might not be detecting it correctly. If that's the case, please file a new issue with a screenshot showing your folder layout (where the Flutter project is in relation to the top folder you opened) and an extension log.
@sagarkhurana00786 can you include a screenshot/description of where you're seeing this? If in VS Code, can you capture a log (see #2128 (comment))? Thanks!
A new version of DevTools was released that doesn't have a build suffix, so I would not expect anyone to still see this.
If you do still see it when launching DevTools from within VS Code, please let me know (or ping me in Discord), I'd like to understand why it's not updating.
Activity
DanTup commentedon Nov 25, 2019
Could you try capturing a log by running the Dart: Capture Logs command, ticking Command Processes and DevTools then reproducing the issue?
Thanks!
advancedtw commentedon Nov 25, 2019
i was not aware of capture logs and thanks to that i fixed it. i copied devtools-0.1.11 from an other user and now it's working as expected but still I'm wondering what is the recommended way to repopulate this directory
.pub-cache/hosted/pub.dartlang.org/also is it is it normal that my log shows : Flutter extension: 3.6.0 (not activated)
thanks a bunch
DanTup commentedon Nov 26, 2019
Weird - I'm not sure how that folder would end up without a pubspec.
The easiest way to fix is probably running
pub global deactivate devtoolsthenpub global activate devtools(though the second step will be run by the VS Code extension if you try to launch DevTools and it's not activated).If you've opened a folder that isn't a Flutter app, this is normal. If it is a Flutter app, then it suggests for some reason we might not be detecting it correctly. If that's the case, please file a new issue with a screenshot showing your folder layout (where the Flutter project is in relation to the top folder you opened) and an extension log.
Thanks!
bsutton commentedon Jan 19, 2020
For other readers, I managed to get into this state because I managed to deleted my entire .pub-cache/hosted/pub.dartlang.org/ directory.
The same approach (deactivate/activate) solved the problem.
hellosagar commentedon Apr 5, 2020
@advancedtw @DanTup @bsutton
Can Anyone help me I'm getting this issue Dart Dev Tools exited with code 225
DanTup commentedon Apr 6, 2020
@sagarkhurana00786 can you include a screenshot/description of where you're seeing this? If in VS Code, can you capture a log (see #2128 (comment))? Thanks!
sgehrman commentedon May 17, 2020
same issue today. I did just upgrade flutter. This worked: deactivate devtools then pub global activate devtools
DanTup commentedon May 18, 2020
A new version of DevTools was released that doesn't have a build suffix, so I would not expect anyone to still see this.
If you do still see it when launching DevTools from within VS Code, please let me know (or ping me in Discord), I'd like to understand why it's not updating.