Alcumus / react-doc-viewer

Apache License 2.0
206 stars 101 forks source link

API "3.11.174" and Worker "4.2.67" Version Mismatch #147

Open devashish0007 opened 1 month ago

devashish0007 commented 1 month ago

there are dependencies with modules,

"node_modules/pdfjs-dist" : "4.2.67", "node_modules/react-doc-viewer": "4.2.67", "node_modules/react-pdf" : "3.11.174", "node_modules/react-pdf/node_modules/pdfjs-dist" : "3.11.174"

These modules are having dependencies with two different version, raising conflict.

Please Guide on how to solve this.

Screenshot 2024-05-16 at 4 57 53 PM
awatson1978 commented 3 weeks ago

Getting this error also. Looks like react-pdf is significantly out of date; as the latest version is v9.0.0. Going to need some dependency bumps; but looks like there might be breaking API changes, so that could take awhile.

mihirebiz commented 3 weeks ago

image

i am facing the same issue it says The API version "3.11.174" does not match the worker version "4.2.67"

timothy-shiwprasad commented 3 weeks ago

console.js:273 Warning: UnknownErrorException: The API version "3.11.174" does not match the Worker version "4.2.67".

I also have a similar error. I hope a patch is made soon.

Shawn-Jemmott commented 2 weeks ago

I am facing the same issue. The API version "3.11.174" does not match the Worker version "4.2.67".

I will be thankful for a patch very soon.

zhw-rneumann commented 2 weeks ago

So is that the reason I can't look at pdf files? Is there any work around like downgrading or something like that?

Getting this error also. Looks like react-pdf is significantly out of date; as the latest version is v9.0.0. Going to need some dependency bumps; but looks like there might be breaking API changes, so that could take awhile.

iblack10 commented 1 week ago

So is that the reason I can't look at pdf files? Is there any work around like downgrading or something like that?

I've had to pin the version of react-doc-viewer to "0.1.5" to have it working for now.

"react-doc-viewer": "0.1.5"

zhw-rneumann commented 1 week ago

So is that the reason I can't look at pdf files? Is there any work around like downgrading or something like that?

I've had to pin the version of react-doc-viewer to "0.1.5" to have it working for now.

"react-doc-viewer": "0.1.5"

Thanks, will give it a try