Open lhilgert9 opened 3 hours ago
https://mozilla.github.io/pdf.js/web/viewer.html works in Chrome without any problem. Please provide a link to a reproduction.
Please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):
If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.
Attach (recommended) or Link to PDF file
Every PDF
Web browser and its version
Google Chrome: 130.0.6723.59
Operating system and its version
macOS 15.0.1
PDF.js version
pdfjs-dist: 4.7.76
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
export default pdfJS;
Link to a viewer
No response
Additional context
The error has only occurred since version 4.7.76. In version 4.6.82 everything works without errors. Looks like the error occurred here.