Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid argument(s): A directory corresponding to fileSystemPath "devtools-0.9.7+1/build" could not be found #2653

Closed
jeiea opened this issue Feb 1, 2021 · 6 comments
Assignees

Comments

@jeiea
Copy link

jeiea commented Feb 1, 2021

It seems published devtools-0.9.7+1 missed build directory. I checked it by downloading package directly from pub.dev.

✗ flutter pub global run devtools
Unhandled exception:
Invalid argument(s): A directory corresponding to fileSystemPath "/Users/jeiea/.pub-cache/hosted/pub.dartlang.org/devtools-0.9.7+1/build" could not be found
#0      createStaticHandler (package:shelf_static/src/static_handler.dart:50:5)
#1      defaultHandler (package:devtools_server/src/external_handlers.dart:40:23)
<asynchronous suspension>
#2      serveDevTools (package:devtools_server/src/server.dart:183:21)
#3      _serveDevToolsWithArgs (package:devtools_server/src/server.dart:125:10)
#4      serveDevToolsWithArgs (package:devtools_server/src/server.dart:72:16)
#5      main (file:///Users/jeiea/.pub-cache/hosted/pub.dartlang.org/devtools-0.9.7+1/bin/devtools.dart:9:3)
#6      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#7      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
@cyanlink
Copy link

cyanlink commented Feb 1, 2021

can confirm

@bkonyi
Copy link
Contributor

bkonyi commented Feb 1, 2021

Confirmed that this is an issue.

@bkonyi
Copy link
Contributor

bkonyi commented Feb 1, 2021

It looks like we might just need to rebuild and republish. I'll try and get someone with the right permissions to take a look tonight, but we might not be able to get something out until early morning PST tomorrow.

@bkonyi bkonyi added the P0 label Feb 1, 2021
@cyanlink
Copy link

cyanlink commented Feb 1, 2021

@bkonyi Anything we can do for now? I mean what can we user do when such thing happens (like rolling back to normal 0.9.7 versions). how can we do that?

@jeiea
Copy link
Author

jeiea commented Feb 1, 2021

@cyanlink flutter pub global activate devtools 0.9.6+3

@bkonyi
Copy link
Contributor

bkonyi commented Feb 1, 2021

flutter pub global activate devtools should pull down 0.9.7+2 which should fix the issue. Thanks for your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants