After building my angular project i get the error: Error: Export of name 'ngModel' not found!
I have my UI running in a docker container
not even sure where to look for this. Its working fine in dev. (ng serve)
Any ideas
import FormsModule in your respective spec.ts file and app.module.ts if not
beforeEach(async(() => {
TestBed.configureTestingModule({
imports:[RouterTestingModule,HttpClientTestingModule,FormsModule],
declarations: [ MyComponent ]
})
.compileComponents();
}));