0

I am trying to import the FormsModule and the ReactiveFormsModule into my shared.module.ts file. This is the code:

imports: [
  CommonModule,
  MaterialModule,
  FormsModule,
  ReactiveFormsModule,
],

This is the error

Value at position 2 in the NgModule.imports of SharedModule is not a reference
  Value could not be determined statically.(-991010)
fabian
  • 23
  • 3
  • How do you define `MaterialModule` ? – Wandrille May 15 '23 at 06:55
  • @Wandrille import { MaterialModule } from './material/material.module'; and it is basically an extra Angular module without routing where I import all Material components. – fabian May 15 '23 at 06:57

0 Answers0