Can't bind to 'formGroup' since it isn't a known property of 'form'

Hi, anyone helps me, I am getting this error in the template-driven form in angular

ERROR in src/app/web/template-driven-form/template-driven-form.component.html:2:8 - error NG8002: Can’t bind to ‘formGroup’ since it isn’t a known property of ‘form’.

2 <form  [formGroup]="userInfo" (ngSubmit)="onSubmit(userInfo.value)" >
         ~~~~~~~~~~~~~~~~~~~~~~

  src/app/web/template-driven-form/template-driven-form.component.ts:6:16
    6   templateUrl: './template-driven-form.component.html',
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component TemplateDrivenFormComponent.

Check whether you’re missing an import in your module.ts.