-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
Description
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:
/Users/elliot/dev/sandbox/my-next-app/node_modules/.pnpm/wrangler@3.80.0_@cloudflare+workers-types@4.20241004.0/node_modules/wrangler/wrangler-dist/cli.js:29768
throw a;
^
{
type: 'error',
reason: 'Failed to construct initial bundle',
cause: UserError: Failed to build
at bundleWorker (/Users/elliot/dev/sandbox/my-next-app/node_modules/.pnpm/wrangler@3.80.0_@cloudflare+workers-types@4.20241004.0/node_modules/wrangler/wrangler-dist/cli.js:165378:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async build (/Users/elliot/dev/sandbox/my-next-app/node_modules/.pnpm/wrangler@3.80.0_@cloudflare+workers-types@4.20241004.0/node_modules/wrangler/wrangler-dist/cli.js:175368:59),
source: 'BundlerController',
data: undefined
}
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.
kendelljoseph, jmikrut, r1tsuu, tylandavis, DanRibbens and 25 moregalcsikgyozo and zyahav