bug(legacy/MDC-migration): catch-22 when trying to run the migration script #28510
Labels
area: cdk/schematics
cdk/schematics is *not* a public API
P2
The issue is important to a large percentage of users, with a workaround
Is this a regression?
The previous version in which this bug was not present was
No response
Description
TL;DR:
The legacy component migration script
ng generate @angular/material:mdc-migration
has a bug in v16 that was only fixed in v17. But you can't upgrade to v17 if you have legacy components. Reductio ad absurdum!It would be great if a v16 release of the one-line fix from #28342 could be made.
Description
The current v16 release of
@angular/material
has a bug that does not allow the mdc migraiton script to run:This was fixed in #28342 and released in 17.1.0-rc.0. The one-line fix works for me on 16.2.13.
Workaround
Manually apply 317eba0
Reproduction
N/A
Expected Behavior
ng generate @angular/material:mdc-migration
should runActual Behavior
ng generate @angular/material:mdc-migration
errors outEnvironment
The text was updated successfully, but these errors were encountered: