Hi, do you have any idea why there's an error after adding ModalsModule in the app.module.ts.
Uncaught TypeError: Cannot read properties of undefined (reading 'ModalsModule')
at Module.ModalsModule (widgets.module.ts:231:28)
at 71706 (layout.module.ts:84:5)
at __webpack_require__ (bootstrap:19:1)
at 40789 (page-info.service.ts:17:21)
at __webpack_require__ (bootstrap:19:1)
at 9694 (tiles-widget14.component.html:20:71)
at __webpack_require__ (bootstrap:19:1)
at 85157 (tiles-widget3.component.html:4:23)
at __webpack_require__ (bootstrap:19:1)
at 76407 (widgets.module.ts:231:28)
Hi,
I've checked your case, weird webpack behavior.
Anyway, for now try to change import from short to the full path: import { ModalsModule } from './_metronic/partials/layout/modals/modals.module';
and it should work.
Regards,
Keenthemes support
Hi Royland Andrino,
Probably ModalsModule is already added to the layout.module.ts. We will check this further and provide you with a solution soon.
Thanks