I recently upgraded my Angular application from version 8 to version 9, following the official guide. However, after the upgrade, I encountered errors that prevent my application from building. The specific errors include:
"Module not found: Error: Can't resolve '@angular/cdk/layout/breakpoints'", "Field 'browser' doesn't contain a valid alias configuration resolve as module looking for modules in No description file found Field 'browser' doesn't contain a valid alias configuration No description file found no extension Field 'browser' doesn't contain a valid alias configuration /@angular/cdk/layout/breakpoints doesn't exist .ts"
Similar errors are also reported for
@angular/material/core/common-behaviors
, @angular/material/core/datetime
, and @angular/material/core/ripple
.
I have tried including all relevant files that I thought could help resolve the issue, but I'm still stuck. If anyone has suggestions or solutions, please assist me. This problem is causing a lot of frustration.
Here are snippets from my package.json:
[package.json content]
Here are excerpts from my angular.json:
[angular.json content]
And here are sections from my tsconfig.json:
[tsconfig.json content]