formGroup expects a FormGroup instance. Please pass one in. Example: In your class: this.myGroup = new FormGroup({ firstName: new FormControl() });.
By Terence Hilll at Dec 29 2020