ERROR Error: mat-form-field must contain a MatFormFieldControl.
Make sure matInput is with lowercase 'm'
I had this error and one of my controls had MatInput instead of matInput
In any case just double check the spelling of your directives and components