Angular-playground does not compile inside coreui project
catasoft opened this issue · comments
Hello,
I installed the coreui-free-angular-admin-template, and then wanted to add the angular-playground component, which is not compiling.
ng add angular-playground
npm run playground
Result:
ERROR in getInternalNameOfClass() called on a non-ES5 class: expected UrlService to have an inner class declaration.
This is quite a deal-breaker.
Thanks,
Catalin
Hi @catasoft
It looks like it has sth to do with Ivy
engine, I am afraid. See: SoCreate/angular-playground#235
Have you tried to disable Ivy?
- in
angular.json
set"aot": false;
- in
tsconfig.app.json
in theangularCompilerOptions
set"enableIvy": false
yes. disabling Ivy is getting rid of this error for us. still need to figure out what is causing this.
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