You cannot add FormGroup to import a module, just import it into the component in which you want to use FormGroup . You can add MODULES to the imports module. In addition, if you want to use the FormGroup directive, you will need to import the ReactiveFormsModule into your module:
@NgModule({ imports: [ FormsModule, ReactiveFormsModule ] })
source share