-
-
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
BindingError #2892
Comments
I started getting this error too with Edit: upgrading to version 4.0.0 didn't help. Edit 2: |
Encountered errors while importing assets (primarily fonts), causing console errors and production build failures. The issue stemmed from asset names being hashed in production, breaking manual URL construction. Resolved by using Vite's `import` to retrieve asset URLs, which correctly handles the hashed filenames. Additionally, moved the `asset` folder into the `cv` directory to finalize the decoupling of the CV section from the rest of the application. One console error remains: BindingError: "Expected null or instance of Config, got an instance of Config." This seems to cause the CV PDF to occasionally not load upon refresh, though the exact cause is unclear. An issue request is open for further investigation: diegomura/react-pdf#2892
I get this error and the |
I’m encountering the same issue
I use a If I remove one, the error goes away. Are you all also using multiple |
I was the same way as you with a |
Hello everyone, I encountered the same issue and resolved it by redefining the I'm not sure if you're facing the same issue, but this approach might be worth exploring. Best regards, |
Hi everyone, After further investigation, I came across this pull request, which provides more insight into the issue: #2878. |
I encountered the same problem. But the difference with you is that the problem mentioned in #2890 also occurred at all the time, and this BindingError occurred only some time. I'm guessing there's some connection between these two issues. Without a doubt, you are the best. |
I'm getting this error on Firefox just using the PDFDownloadLink. Stopping the PDF from being downloaded unless I refresh. |
@luokelong, I haven’t encountered the second error you mentioned. |
I recently ran the latest update (4.0.0) and everything works fine, but I get the annoying bug in the console for a binding error:
"Expected null or instance of Config, got an instance of Config"
Stack trace[0]
Error. (http://localhost:3000/node_modules/.vite/deps/@react-pdf_renderer.js?v=5fc542da:85453:13)
It doesn't seem to be causing any issues, I just like to keep the console clean and I don't have a clue what the issue is.
I am happy to add on more information, but I don't know what information would be helpful for this.
The text was updated successfully, but these errors were encountered: