Open kputh opened 6 months ago
Same problem but I don't have dependency overrides, i have self hosted pub packages
some_package: hosted: https://self.hosted.pub.com/
When I removed this packages everything works, but with this packages I have same error.
I just checked the repo, and it seems that this is "invalid" for the hosted dependency. I did further research and found the following:
Before creating a bug report please make check the following
pub cache repair
. Close the terminal and try again.administrator
or withdeveloper
permissions.fvm doctor
if possible and add the output to the issue.Describe the bug Commands like
fvm use
fail with a complicated error message when specific dependency overrides are present.Example dependency override in pubspec.yaml:
Example error message:
To Reproduce
Then, remove the dependency override for _geolocatorandroid from pubspec.yaml and run
fvm use 3.10.4
again.Expected behavior The command should complete successfully.
Desktop: