Open denolfe opened 1 week ago
Supporting v15 is definitely on our radar but not before the official release.
Our priority for now is to converge with Open Next/SST. It will enable moving faster in the future.
I am also trying to deploy the Payload 3.0 app which uses Next 15. I am able to build the app using wrangler successfully, just that when running the local server it throws errors.
Here are the error logs:
--- 2024-10-09T05:11:35.740Z debug
[InspectorProxyWorker] RUNTIME INCOMING MESSAGE {
method: 'Runtime.consoleAPICalled',
params: {
type: 'error',
args: [ [Object], [Object] ],
executionContextId: 283096929,
timestamp: 1728450695732,
stackTrace: { callFrames: [Array] }
}
}
---
--- 2024-10-09T05:11:42.559Z error
[31m✘ [41;31m[[41;97mERROR[41;31m][0m [1mFailed to prepare server Error: An error occurred while loading the instrumentation hook[0m
Hey All, we at Payload are extremely excited about getting this to work with our platform. People are asking about running Payload on Cloudflare quite often, and there is a lot of potential here.
Payload's version 3 is now built on Next.js but is still in beta and thus requires Next.js v15.0.0-canary.173 or higher.
We followed the getting started docs here, then attempted to upgrade to the latest Next.js + React versions and received the following errors:
We realize we're on the cutting edge here, but we're very excited to try this out. We'd like to know when we should try again.