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
.dart_tool/package_config.json does not exist on Flutter 2.12.0-4.1.pre #100350
Comments
Seems like the package_config.json does not load. The error is thrown from here:
Could you try running with |
@sigurdm is the following helpful? https://github.com/flutter/samples/runs/5599349696?check_suite_focus=true#step:5:69 |
It seems like the
And then it tries to load the package_config of flutter_tools:
The "File cannot be read" comes from: Loading the package_config.json of flutter_tools probably comes from:
Still not sure what has changed here, or what is going wrong. I doubt it is a pub issue. |
My concern is this code path is working fine with stable, and has been working pretty much unchanged for a year. We are either going to need to fix this, or publicise a work around. /cc @RedBrogdon @kevmoo |
CC @mit-mit – related to |
@Jasguerrero can you take a look at this? This release does have your change, however, I'm still not exactly sure how we are reaching this. Also note that this CI build is using https://github.com/subosito/flutter-action, which may be doing something funny with the pub-cache. |
I suspect this is a regression caused by #97722 |
Hey there, Im not sure If you already discovered (because me English is not the best) but for anyone who directly download de arm64 flutter beta zip from flutter.dev, they gonna have the same issue, the current solution is clone the repository and then when you create your app, its gonna auto download the required tools. 🤓 |
This was fixed by 50f3e47 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Error: https://github.com/flutter/samples/runs/5595965164?check_suite_focus=true#step:5:72
Context: flutter/samples#1053
Flutter doctor output:
The text was updated successfully, but these errors were encountered: