After updating the Angular lib from angular 9 to angular 10, I am getting the following error while building the library.
ERROR: Symbol MatButton declared in ........................... is not exported from @angular/material/button.
I couldn't understand the reason, can somebody please suggest what needs to be done?
Thanks, Meenakshi
I had the same problem after enabling ivy while my imports were correct. For me updating @angular/material
to 11.2.10
and updating @angular/compiler-cli
to 11.2.11
fixed the issue.