I thought I understood how ngModule worked but apparently not. I have 3 modules: AppModule, AmpedFormsModule, and AmpedCommonMod
ngModule
AppModule
AmpedFormsModule
AmpedCommonMod
I faced same error , sometimes this issue occur and you only need to re-run the server using ng serve or whatever CLI you use