'mat-form-field' is not a known element: 1. If 'mat-form-field' is an Angular component, then verify that it is part of this module code example
Example 1: 'mat-form-field' is not a known element
@NgModule({
imports: [
...
MatFormFieldModule,
MatInputModule,
...
]
})
Example 2: 'mat-form-field' is not a known element:
@NgModule({
imports: [
MatButtonModule,
MatFormFieldModule,
MatInputModule,
MatRippleModule,
]
....