You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to render a pdf in a NextJS project.
I created a client component inside a page and I have the starting code to show the PDF.
I'm getting the following error:
Downgrading to [email protected] fixes the issue.
Also updating the workerSrc to "//unpkg.com/pdfjs-dist@${pdfjs.version}/build/pdf.worker.min.js" because the cloudflare url was giving CORS errors on local dev, I can do a pull request if needed.
Did you open a ticket with pdfjs by any chance? If downgrading works then it might be an issue with upstream? I just hit the same error directly importing pdfjs-dist.
Hello, I'm trying to render a pdf in a NextJS project.
I created a client component inside a page and I have the starting code to show the PDF.
I'm getting the following error:
Apparently this issue also happened with material-ui and amplify with the same version of next
mui/material-ui#40214
aws-amplify/amplify-hosting#3847
I tried downgrading to 14.03 and updating to 14.1 but neither fixed the error, did anyone manage to make it work with NextJS?
The text was updated successfully, but these errors were encountered: