Skip to content
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

Error: No "GlobalWorkerOptions.workerSrc" specified. on React #3

Open
RainBoard01 opened this issue Jul 7, 2022 · 4 comments
Open
Labels
bug Something isn't working

Comments

@RainBoard01
Copy link

image

@electrovir
Copy link
Owner

electrovir commented Aug 16, 2022

Do you have any more details to provide @RainBoard01? What are you passing to readPdfText? This error is being thrown within pdfjs-dist itself, so it's unlikely we'll be able to do anything about it within this package.

However, I did just update the pdfjs-dist dependency in this package's version 3.0.2. Perhaps this new published version will fix this bug?

@electrovir electrovir added the bug Something isn't working label Aug 16, 2022
@phenomen
Copy link

I have the same issue with SvelteKit so it's not React specific problem.

@hmih
Copy link

hmih commented Oct 18, 2023

I'm hitting this as well.

@electrovir
Copy link
Owner

electrovir commented May 7, 2024

Can you please try again using the latest version? (5.0.1). It includes an updated pdfjs-dist dependency which might help.

Other than that, I haven't been able to repro this yet so I don't know what else to do 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants