I have FrontDesk/FrontDesk.UserInterface project have updated all the packages to Angular 15.You can check the screenshot below.
I executed the following command ng generate @angular/material:mdc-migration
, which automatically updated all components in the FrontDesk/FrontDesk.UserInterface.
Afterward, I attempted to build the FrontDesk/FrontDesk.UserInterface project. However, all the errors that were thrown pertained to Shared/Shared.UserInterface2 except for one error in FrontDesk/FrontDesk.UserInterface within angular-routing.module.ts.
When attempting to update Angular and Material packages,
Shared/Shared.UserInterface2 > ng update @angular/core@15 @angular/cli@15
I encountered following error: This command is not available when running cli outside workspace.
After some research, I discovered that the angular.json
file is missing from this project. This is why I couldn’t update the packages directly. Nonetheless, I was able to install Angular and Material 15 packages in Shared/Shared.UserInterface2.
I then executed a command ng install @angular/material:mdc-migration
to migrate material components in Shared/Shared.UserInterface2.
I attempted to install material-mdc-migration and generate material:mdc-migration both failed.
After build FrontDesk/FrontDesk.UserInterface there most repetitive issues one is angular material theming error and mat-chip-list errors in Shared/Shared.UserInterface2 I have failed to resolve two repetitive issues.
- How to resolve Angular/Material/Theming Error? I tried to uninstall and reinstall material packages in dependent project Shared.Shared.UserInterface2 but it didn’t work and I was unable to find
node_modules/@angular/material/theming
folder.
- How could I execute material-mdc-migration in Shared/Shared.UserInterface2? If its not possible then what should be my approach?
I assume once we were able to execute the material-mdc-migration command It would automatically resolve material related issues in Shared/Shared.UserInterfac2.
Any help will be appreciated. Thanks in Advance
1