Friday, August 16, 2019

NullInjectorError: No provider for FormBuilder!

ReactiveFormsModule needs to go in the imports of the module governing the component where this error occurs in an Angular app to make this error go away. Loop that in like so:

import { ReactiveFormsModule } from '@angular/forms';

No comments:

Post a Comment