Skip to content

The flutter update-packages --force-upgrade command fails and it can't find _macros package #147656

@gspencergoog

Description

@gspencergoog

Description

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.

Metadata

Metadata

Assignees

Labels

team-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions