I know this has been asked a thousand times, but 99% of the solutions seem to be typos. I have reduced the code to what is actually suggested in the error message:
In my html:
<div [formGroup]="myGroup">
<input formControlName="firstName">
</div>
In my ts
import { Component, OnInit } from '@angular/core';
import { FormControl, FormGroup } from '@angular/forms';
@Component({
selector: 'app-my-info',
templateUrl: './my-info.component.html',
styleUrls: ['./my-info.component.scss']
})
export class MyInfoComponent implements OnInit {
myGroup: FormGroup;
ngOnInit() {
this.myGroup = new FormGroup({
firstName: new FormControl()
});
}
}
I have spent hours and hours on this. The code is working elsewhere in my app. Any help would be greatly appreciated!

FormsModulein your module which has your component [i.e. app.module.ts]?