Closed
Description
Command
generate
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
When I run:
ng generate @angular/material:mdc-migration
It asks me which directory and which components. No matter what I select, it shows the following right after:
Migrating components:
Migrating project: my-app
Character is out of bounds
No files get migrated. Nothing else happens. I don't know where I can look for the logs to see what exactly was out of bounds.
Minimal Reproduction
ng generate @angular/material:mdc-migration
leave blank for default
press enter for just 'button'
Exception or Error
Character is out of bounds
Your Environment
Angular CLI: 16.0.0
Node: 16.15.0
Package Manager: npm 8.5.5
OS: darwin arm64
Angular: 16.0.0
... animations, cdk, cdk-experimental, cli, common, compiler
... compiler-cli, core, forms, language-service, localize
... material, platform-browser, platform-browser-dynamic
... platform-server, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1600.0
@angular-devkit/build-angular 16.0.0
@angular-devkit/core 16.0.0
@angular-devkit/schematics 16.0.0
@nguniversal/builders 16.0.0
@nguniversal/common 16.0.0
@nguniversal/express-engine 16.0.0
@schematics/angular 16.0.0
rxjs 7.8.1
typescript 4.9.5
webpack 4.46.0
Anything else relevant?
No response