react-doc-viewer
react-doc-viewer copied to clipboard
Unable to render PDF: Warning: UnknownErrorException: The API version "4.3.136" does not match the Worker version "4.5.136".
For context, I have 2 pdfjs-dist installed. I received the warning above when trying to render my pdf? Any idea why this error occurs and how to solve it?
├─┬ @cyntler/[email protected] │ └─┬ [email protected] │ └── [email protected] └── [email protected]
Any Leads on this?
I just downgraded my pdfjs-dist to 4.3.136 for it to work
Any update on this. We have the same issue and had to also downgrade pdfjs-dist to make it work. It also broke our CSPs