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
flutter pub get works without issue in Mac, but in Windows I get this error:
Package doesn't exist (the pubspec for in_app_purchase 0.3.5+1 from git has version 0.3.4+3).
pub get failed (server unavailable) -- attempting retry 1 in 1 second...
Package doesn't exist (the pubspec for in_app_purchase 0.3.5+1 from git has version 0.3.4+3).
pub get failed (server unavailable) -- attempting retry 2 in 2 seconds...
.
.
If I comment out the "ref:" line, pub get works also in Windows. The referenced commit is in a branch (not master).
Not sure if it was related, but I noticed I had also "Filename too long" issue described here. I got that error after clearing the cache and then tried running pub get again. Surprising that I have still been able to create and publish APKs.
Another possible reason for this issue was that my pub cache was under %APPDATA% which is a roaming folder and I have used Flutter in two Windows machines with the same account. I am not sure how well the roaming works, maybe it has messed the cache at some point. I found #2297 and now moved my cache under %LOCALAPPDATA%.
I have this git reference in my pubspec.yaml:
flutter pub get
works without issue in Mac, but in Windows I get this error:If I comment out the "ref:" line, pub get works also in Windows. The referenced commit is in a branch (not master).
The text was updated successfully, but these errors were encountered: