Open Valma-EG opened 3 weeks ago
I got the exact same error with Angular 17.3.10 and ngx-extended-pdf-viewer version 20.0.2
I even tried updating the viewer to 20.2.0, but it didn't help. I recently updated angular from 17.3.0 to 17.3.10 and the viewer from 19.7.1 to 20.0.2. Before I did that update, everything worked fine, so I tried to go back to these Versions, but I still got the error.
At the moment, I'm also confused. I decided to remove the minified ES5 versions of the files some time ago, but when I did, I also made sure these files aren't requested. Appearently, this didn't work.
While I'm still trying to figure it out, I suppose you can solve the issue by adding the attribute [minifiedJSLibraries]="false"
to the <ngx-extended-pdf-viewer>
tag.
Ok, thank you, now I don't have the first error on the op-chaining-support.js, but still on the other:
So the pdf still not be charged.
I just add this line in the constructor and now seems it works:
@Valma-EG Did you check the URL of the missing files? Maybe the PDF loader tries to load the files from the wrong directory.
I need some help
this is my html:
where: pdfSrc = 'assets/bu830-31.pdf';
Version info Agular 17 "ngx-extended-pdf-viewer": "^19.7.1"