-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
Vercel deployment stopped working after update from 13.5.3 to 13.5.4 #56676
Comments
Getting the same issue to me https://github.com/vercel/next.js/pull/56048/files#r1345651964 |
Several people including me encountered similar problem, except our apps wasn't able to deploy on Vercel because of failing to fetch data from Sanity. |
This ensures our `readFile` handling for tracing we previously had is maintained. Test deployment with the provided reproduction can be seen here: https://react-pdf-repro-jeqgyhmek-vtest314-ijjk-testing.vercel.app/ Fixes: #56676
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Link to the code that reproduces this issue
https://github.com/wojtekmaj/react-pdf/tree/main/sample/next-app
To Reproduce
Current vs. Expected behavior
Vercel deployment should work.
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:42:57 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T8112 Binaries: Node: 20.7.0 npm: 10.1.0 Yarn: 3.1.0 pnpm: N/A Relevant Packages: next: 13.5.4 eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: 5.0.4 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Not sure
Additional context
I've got multiple reports from users of react-pdf, a package to display PDF in React, that upon upgrading to Next.js 13.5.4 Vercel deployment no longer works. I've received confirmations that Next.js 13.5.3 was working fine.
I have, frankly, zero experience with Vercel, I'm not sure how would I be able to test deployment there, and especially can't afford paying for a Vercel account for testing purposes.
The most unusual part about react-pdf configuration in Next.js (as well as Vite, Webpack…) is the way web worker is imported:
https://github.com/wojtekmaj/react-pdf/blob/main/sample/next-app/app/Sample.tsx#L12-L15
My users report that upon upgrading to 13.5.4, this results with:
See: wojtekmaj/react-pdf#1630
NEXT-1683
The text was updated successfully, but these errors were encountered: