Closed Eric-Arz closed 7 months ago
Yep this is known, thanks for pulling the issue! Looking to resolve this today and then publish a release with fixes from yesterday as well.
was there ever a fix released for this issue? i have a next.js 14 app and would love to integrate payload into it.
was there ever a fix released for this issue? i have a next.js 14 app and would love to integrate payload into it.
Did you build something with it?
Are there any updates on when a fix will be implemented?
@JarrodMFlesch any updates on this issue?
No fix as of right now, James and I spent a bit of time attempting to work around this. We were unsuccessful and are focusing our efforts on Payload 3.0, which will inherently make things even easier to integrate with Next/Vercel.
Sorry for leaving you all hanging! For now we recommend using Next13 or Next 14.0.0
any eta of when Payload 3.0 beta branch is available?
any eta of when Payload 3.0 beta branch is available?
I'm less involved in this but I know they have been making great progress. The goal is to move swiftly to reduce divergent changes in different branches.
This isn't working for me even with Next.js v13.5.6. Not sure what to do as my project doesn't work when deploying to Vercel.
It works locally if you npm run build
and npm start
but does not work when deployed to Vercel and attempting to access /admin
routes.
Hey all, this repo will soon be archived because it's been merged into the main Payload repo here: https://github.com/payloadcms/payload/tree/main/packages/next. Payload 3.0 ships with native support for Next.js and is currently out in beta here: https://github.com/payloadcms/payload-3.0-demo. I'm going to close this issue now but feel free to keep the conversation going either as a GitHub Discussion or on Discord. If think issue persists, feel free to open a new ticket on either the demo repo or the monorepo with the 3.x-beta
label, and be sure to include a reproduction so we can fix it faster.
When using Next.js 14 deployed on Vercel going to any of the admin routes results in this error. Works fine with Next.js 13.5.6