Does not build with ivy
See original GitHub issueThis package does not appear to build correctly when Ivy is enabled in Angular 8/9:
ERROR in node_modules/ng2-pdfjs-viewer/index.d.ts:3:22 - error TS-996002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class
export declare class PdfJsViewerModule {
~~~~~~~~~~~~~~~~~
There is an open issue in Angular about it: https://github.com/angular/angular/issues/32442
I have created a repo that reproduces this: https://github.com/biltongza/ng2-pdfjs-viewer-ivy-es2015
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
App does not compile with Ivy - Angular 9 #32466 - GitHub
Production app builds with version 8, fails with version 9 and IVY enabled Description Everything in this ticket is about/with the ...
Read more >Can't compile the Angular application with Ivy enabled
I cloned my angular application from remote and installed the dependencies. Then I tried to build an application locally using ng ...
Read more >Creating libraries - Angular
Avoid compiling libraries with full-Ivy code if you are publishing to npm because the generated Ivy instructions are not part of Angular's public...
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 >Understanding Angular Ivy Library Compilation | lacolaco/tech
In this post, I will explain how to compile Angular libraries with Ivy, which is now possible in Angular v11.1, and its details....
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
Will update version in couple of days
Is it possible to release a new version with this fix? Thanks