Error in terminal while installing Angular Material 16 in Angular 17 app
Command
add
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
After fix for #27126 got deployed, the error in aforementioned bug was resolved, but started getting a new error: Could not find the project main file inside of the workspace config (src)
Minimal Reproduction
Steps:
- Create an Angular 17 app with latest Angular Cli (v17.2.1)
- Run
ng add @angular/material@16command.
Exception or Error
Could not find the project main file inside of the workspace config (src)
Your Environment
Angular: ^17.2.0
Angular CLI: ^17.2.1
Node: v20.11.1
Anything else relevant?
No response
This is because in version 16. The @angular/material schematics are not aware on how to handle the application builder.
Closing as this is not a regression and version 16 is LTS.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.