I'm on angular material 9.2.0. I installed @angular-material-components/datetime-picker
for dateTimePicker .
I get this errors when I run ng build --prod
.
I found a solution for that on github, The latest version 4.x.x supports Angular 10. For Angular 9, you should use the version 2.x by using this command:
npm i @angular-material-components/[email protected] --save