Open LetAmericaGreatAgain opened 7 months ago
"@nebular/theme": "^9.0.1",
When using Nebular '<nb-layout>' is required and should wrap other nebular components.
Layout have it and everything wrapped in it
Fixed by adding .forRoot()
NbToastrModule.forRoot(),
ERROR Error: [NbOverlayContainerAdapter]: Layout not found. When using Nebular '' is required and should wrap other nebular components.
at throwLayoutNotFoundError (nebular-theme.mjs:1122:11)
at NbOverlayContainerAdapter.checkContainer (nebular-theme.mjs:1149:13)
at NbOverlayContainerAdapter._createContainer (nebular-theme.mjs:1141:14)
at NbOverlayContainerAdapter.getContainerElement (overlay.mjs:754:18)
at NbOverlay._createHostElement (overlay.mjs:2561:32)
at NbOverlay.create (overlay.mjs:2528:27)
at NbOverlayService.create (nebular-theme.mjs:1570:41)
at NbDialogService.createOverlay (nebular-theme.mjs:19445:29)
at NbDialogService.open (nebular-theme.mjs:19435:33)