ModuleWithProviders MDB angular error


Topic: ModuleWithProviders MDB angular error

boris fishman asked 5 years ago

Expected behavior

On upgrade to Angular 9 ModuleWithProviders now requires a generic type argument. That causes an error

Actual behavior

ERROR in node_modules/angular-bootstrap-md/lib/free/mdb-free.module.d.ts:24:23 - error NG6005: MDBBootstrapModule.forRoot returns a ModuleWithProviders type without a generic type argument. Please add a generic type argument to the ModuleWithProviders type. If this occurrence is in library code you don't control, please contact the library authors. [1]

Any solutions to this?


Arkadiusz Idzikowski staff answered 5 years ago

MDB Angular 8.x.x is not compatible with Angular 9. This problem will be fixed when we migrate to v9.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.9.0
  • Device: Mac
  • Browser: Chrome
  • OS: OSX Catalina
  • Provided sample code: No
  • Provided link: No