Open RainBoard01 opened 2 years ago
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?
I have the same issue with SvelteKit so it's not React specific problem.
I'm hitting this as well.
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 🙃