coreui / coreui-free-angular-admin-template

CoreUI Angular is free Angular 18 admin template based on Bootstrap 5

Home Page:http://coreui.io/angular/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trying to integrate inside nrwl nx monorepo

innoveltec opened this issue · comments

Hello,

Trying to use the coreui pro angular template v2.9.5 in a nrwl nx project. Added all the dependencies from the package.json
file inside the starter template of the angular template inside the package.json of my nrwl nx project. Created a library in nx with the default-layout component from the angular template. When i try to start the application i am getting the following error =>

Uncaught Error: Angular JIT compilation failed: '@angular/compiler' not loaded!

  • JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
  • Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
  • Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
    at getCompilerFacade (core.js:643)
    at Function.get (core.js:39251)
    at registerNgModuleType (core.js:36282)
    at core.js:36300
    at Array.forEach ()
    at registerNgModuleType (core.js:36296)
    at core.js:36300
    at Array.forEach ()
    at registerNgModuleType (core.js:36296)
    at new NgModuleFactory$1 (core.js:36461)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions