ng2-pdf-viewer
ng2-pdf-viewer copied to clipboard
Warning: Entry point 'ng2-pdf-viewer' contains deep imports into...
Generating browser application bundles (phase: setup)...Warning: Entry point 'ng2-pdf-viewer' contains deep imports into '/node_modules/pdfjs-dist/es5/build/pdf', '/node_modules/pdfjs-dist/es5/web/pdf_viewer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
Duplicate of #624
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.
Even i am facing the same issue with ng2-pdf-viewer, actually i am using in my angular project and everytime when i run the code it gives same warning
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.
This issue is still present on when using it with Angular 12
Entry point 'ng2-pdf-viewer' contains deep imports into 'C:/Users/User/Desktop/Multiples/node_modules/pdfjs-dist/es5/build/pdf', 'C:/Users/User/Desktop/Multiples/node_modules/pdfjs-dist/es5/web/pdf_viewer'. This is probably not a problem, but may cause the compilation of entry points to be out of order
Mismo Problema
ng2-pdf-viewer.js depends on 'pdfjs-dist/legacy/build/pdf'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Entry point 'ng2-pdf-viewer' contains deep imports into ...'node_modules/pdfjs-dist/legacy/build/pdf', ...'node_modules/pdfjs-dist/legacy/web/pdf_viewer'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
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.
This issue is still present on when using it with Angular 13
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.
This issue is still present on when using it with Angular 13
This issue is still present on when using it with Angular 13
Confirm
This issue is still present on when using it with Angular 13
Can confirm as well
This issue persists
This issue is still present on when using it with Angular 13
Same
Still persists
I solved these issue by just adding the "node_module/pdfjs.dist/build/pdf.js" in the script array under the build object in angular.json file
"architect" : { "build" : { .......... .......... "scripts": [ "node_modules/pdfjs-dist/es5/build/pdf.js" ] } }
Issue exists in Angular 14 as well.
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.
This issue persists
Any update on this yet?
For those who came here with error
ng2-pdf-viewer.js depends on 'pdfjs-dist/legacy/build/pdf'.
CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
like @RolfVeinoeSorensen posted here, go this way âž¡ https://github.com/VadimDez/ng2-pdf-viewer/issues/624
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.
This issue persists
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.
This issue persists
This issue is present of Angular 11
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.