mat-datepicker' is not a known element code example
Example: 'mat-date-range-picker' is not a known element:
import {MatDatepickerModule} from '@angular/material/datepicker';
import {MatNativeDateModule} from '@angular/material/core';
...
@NgModule({
...
imports: [
...
MatDatepickerModule,
MatNativeDateModule
...
]
})