although i am using AOT but i got error Angular JIT compilation failed: '@angular/compiler' not loaded code example
Example: ngular JIT compilation failed: '@angular/compiler' not loaded!
// run
> npm i
// and then rebuild
> ng serve
// run
> npm i
// and then rebuild
> ng serve