I have this problem:
WARNING in ./node_modules/pdfjs-dist/build/pdf.js
Module not found: Error: Can't resolve 'zlib' in 'E:\SET\projects\social-notifications-ui\node_modules\pdfjs-dist\build'
and I need the publication of your ng2-pdf-viewer 5.2.1 project, with the pdfjs-dist 2.0.943 update
Hi, I am facing an issue that seems to be unsolvable for me.
When I navigate through pages fast the viewer goes haywire (Page keeps changing automatically in infinite loop).
My setup is having below parameters
[src]="pdfSrc" [(page)]="cur_page" [zoom]="pdf_zoom" [show-all]="false" [original-size]="false" [autoresize]="true" [fit-to-page]="true" [stick-to-page]="true"
I was not able to find the solution anywhere. Please help me out guys.
Error: ./node_modules/pdfjs-dist/build/pdf.js 2413:45
Module parse failed: Unexpected token (2413:45)
File was processed with these loaders:
annotationStorage: annotationStorage?.getAll() || null
Error: ./node_modules/pdfjs-dist/web/pdf_viewer.js 895:20
Module parse failed: Unexpected token (895:20)