Description
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 running the ng generate @angular/material:mdc-migration
schematic, I am immediately prompted for "What components do you want to migrate?". Upon selection I get this error:
But the schematic never prompted for a directory
input. I have looked into the schematic and it prompts for directory for other people. Is it a versioning issue?
Reproduction
Steps to reproduce:
- run
ng generate @angular/material:mdc-migration
- select button only and press enter
Expected Behavior
I should be prompted for a directory, or, if left blank, assume that all files apply
Actual Behavior
Was not prompted for a directory, and was thrown an error for not choosing a directory
Environment
Angular CLI: 17.0.8
Node: 18.16.0
Package Manager: npm 8.5.5
OS: win32 x64
Angular: 17.0.8
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router
Package Version
@angular-devkit/architect 0.1700.8
@angular-devkit/build-angular 17.0.8
@angular-devkit/core 17.0.8
@angular-devkit/schematics 17.0.8
@angular/cdk 17.0.4
@angular/material 17.0.4
@schematics/angular 17.0.8
rxjs 7.5.7
typescript 5.2.2
zone.js 0.14.2