I am seeing the below error all the time:
formGroup expects a FormGroup instance. Please pass one in.
In HTML:
<mat-step [stepControl]="firstFormGroup">
<form [formGroup]="firstFormGroup">
I have this in my .ts file:
firstFormGroup!: FormGroup;