I\'m learning Angular Material and I\'m getting this error when importing { MatButtonModule } from \"@angular/material/button\".
From what I read in other answers, it lo
According to your package.json, you're using Angular 8.3, but you've imported angular/cdk v9. You can downgrade your angular/cdk version or you can upgrade your Angular version to v9 by running:
ng update @angular/core @angular/cli
That will update your local angular version to 9. Then, just to sync material, run:
ng update @angular/material