You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
working with react-pdf-viewer library getting this error(The API version "2.16.105" does not match the Worker version "2.15.349".)
thus i have directy cloned the git repo from starter folder
this are my following version in my package.json file
I think it is because you installed using a caret semver range specifier ^2.15.349. This will install the latest version that matches that range (which was 2.16.105 at the time of your install).
Instead you need to install an exact version of the package, so you need to remove the leading caret - 2.15.349 in your package.json. After making the change, reinstall dependencies.
working with react-pdf-viewer library getting this error(The API version "2.16.105" does not match the Worker version "2.15.349".)
thus i have directy cloned the git repo from starter folder
this are my following version in my package.json file
"@react-pdf-viewer/core": "3.6.0",
"@react-pdf-viewer/default-layout": "3.6.0",
"pdfjs-dist": "^2.15.349",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^4.0.3"
pls let me know and reply within 24 hrs asap
Thankyou
The text was updated successfully, but these errors were encountered: