upgrade to angular 8 and using Ivy
See original GitHub issuehi, I got this error after updated my project to angular 8 and enabling Ivy compiler:
ERROR in node_modules/ng2-jalali-date-picker/date-picker.module.d.ts(7,22): error TS-996002: Appears in the NgModule.imports of UserDetailsModule, but could not be resolved to an NgModule class
src/__ng_typecheck__.ts(33,60): error TS2344: Type '"_modal"' does not satisfy the constraint '"onClick"'.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Migrating Angular 7 Apps to Angular 8 (with Ivy) | by Ardiansyah
The Migration Process · Update Angular CLI · Run ng update @angular/cli @angular/core · Update some other package version in package.json · Update...
Read more >How do I enable Ivy for Angular 8 or 9? - Stack Overflow
To update an existing project to use Ivy, set the enableIvy option in the angularCompilerOptions in your project's tsconfig.app.json .
Read more >How to Upgrade Angular Packages and Enable the Ivy Compiler
A developer gives a tutorial on how to upgrade your version of Angular to take advantage of the Ivy module built into Angular...
Read more >Angular Ivy
Ivy is the code name for Angular's next-generation compilation and rendering pipeline. With the version 9 release of Angular, the new compiler and...
Read more >Angular 8 - Ivy Compiler - Tutorialspoint
Ivy Compiler is the latest compiler for Angular application released by Angular Team. Currently, Angular is using View Engine compiler to compile Angular...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just updated my project to Angular 9 and since Ivy is the default rendering engine and Renderer is no longer available my project doesn’t work anymore. As far as I know, migrating from Renderer to Renderer2 is not an issue. Can you please update to Renderer2?
@fingerpich Hey, it seems the problem is solved. looks like it was jalali-moment package and not the date-picker. Thanks a lot