-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React PDF is not working with fresh React installation using Vite #2067
Comments
Try this #1879 (comment) |
Hello, I am facing the same issue. Any solution please. |
I can confirm that manually adding the events package ( |
I have the same problem, manually adding the events package did not solve it for me. |
Same issue here |
Same issue, How to solve a problem |
@JK369x update to the latest version it should work with |
|
I have a fresh react application which I installed using vite library. In fresh react application I installed react-pdf and put the basic getting started code from react-pdf site but I am getting errors:
Cannot read properties of undefined (reading 'call')
The above error occurred in the <PDFViewer2> component:at PDFViewer2
To Reproduce
Steps to reproduce the behavior including code snippet (if applies):
The expected behavior should be shown the pdf file
Attached are screenshots of the code and the error
The text was updated successfully, but these errors were encountered: