- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 57
 
Description
Hello,
I need help. NS8 + Angular, if I add the NativeScriptLottieModule in my AppModule I receive this error:
CONSOLE ERROR: JIT compilation failed for NgModule class AppModule {
}
CONSOLE ERROR: bootstrap: Error in Bootstrap Function:
The NgModule 'AppModule' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.
JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.
Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',
or manually provide the compiler with 'import "@angular/compiler";' before bootstrapping.
Error: The NgModule 'AppModule' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.
JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.
Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',
or manually provide the compiler with 'import "@angular/compiler";' before bootstrapping.
at getCompilerFacade (file: src/webpack:/btop/node_modules/@angular/core/fesm2015/core.mjs:4043:0)
Can you help?
Thanks
Marco