Replies: 1 comment 1 reply
-
So this GlobalWorkerOptions thing... I can't find it in your code. When I pasted your component into my test app, and fixed GlobalWorkerOptions, it started working right away. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sample code w/error: https://v0.dev/chat/z0eLZKD1o3Z?b=b_cso9tqi6zdc
I was attempting a minimalistic example using v0.dev and Vercel deployment and can't seem to get around the error "Error: Invalid PDF url data: either string or URL-object is expected in the url property" no matter what I tried. This involved loading a PDF from a URL, and I specifically used the CORS friendly example file for testing but no luck.
Any ideas??
Ensured:
Attempted passing the URL using both methods:
included non-turbopack instructions:
Ensured use of:
Was having a similar problem with pdf.js on v0.dev and was able to solve it with:
Beta Was this translation helpful? Give feedback.
All reactions