Closed panwaranuj01 closed 2 months ago
Hey did you check that you don't have pdfjs-dist
in your package.json? I had the same issue and fixed it by removing pdfjs-dist dependency
@wojtekmaj Could you please provide us a fix for v5.7.2
@wojtekmaj Could you please provide us a fix for v5.7.2
Sorry, not a chance. This version is no longer supported. I don't have capacity to maintain multiple versions.
No problem, I can understand, we will upgrade to the latest version. Thanks
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.
This issue was closed because it has been stalled for 14 days with no activity.
Before you start - checklist
Description
TypeError: Cannot set properties of undefined (setting 'workerSrc')\n at ./node_modules/react-pdf/dist/esm/index.js
Steps to reproduce
I have just imported this
Expected behavior
My react app should load
Actual behavior
My react app is not loading
Additional information
No response
Environment