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
{{ message }}
Repository navigation
The flutter update-packages --force-upgrade command fails and it can't find _macros package #147656
If you run flutter update-packages --force-upgrade, it will crash silently before completing, and the pubspec.yaml files it leaves modified will not work in a subsequent call to flutter update-packages because the _macros package is private and only part of the SDK, and not published, yet it gets pulled in as part of an added dependency of the analyzer package, since it depends on the public pre-release version of the macros package.
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 flutter doctor -v and a minimal reproduction of the issue.
Activity
christopherfujino commentedon May 1, 2024
FYI there's a tracking issue for the failing silently. If you run
flutter update-packages --force-upgradeyou should see pub solve errors.Allow explicit exclusion of packages from pinned packages in `flutter…
github-actions commentedon May 16, 2024
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
flutter doctor -vand a minimal reproduction of the issue.