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
I am trying to use PayloadCMS with opennextjs-cloudflare. While running in dev mode everything works fine, but when trying to preview or deploy, when accessing any route it gives an error (Error: The Node.js process.exit(1) API was called. Canceling the request.) and no more info is provided.
Steps to reproduce
Just create a simple payloadcms project and try to deploy it using opennextjs-cloudflare, and it won't work.
It's expected for PayloadCMS to work with opennextjs-cloudflare.
@opennextjs/cloudflare version
1.0.0-beta.1
Wrangler version
4.8.0
next info output
Using vars defined in .dev.vars
▲ [WARNING] You have defined bindings to the following internal Durable Objects:
- {"name":"NEXT_CACHE_DO_QUEUE","class_name":"DOQueueHandler"}
These will not work inlocal development, but they should work in production.
If you want to develop these locally, you can define your DO in a separate Worker, with a
separate configuration file.
For detailed instructions, refer to the Durable Objects section here:
https://developers.cloudflare.com/workers/wrangler/api#supported-bindings
workerd/server/server.c++:1942: warning: A DurableObjectNamespace in the config referenced the class "DOQueueHandler", but no such Durable Object class is exported from the worker. Please make sure the class name matches, it is exported, and the class extends 'DurableObject'. Attempts to call to this Durable Object class will fail at runtime, but historically this was not a startup-time error. Future versions of workerd may make this a startup-time error.
/bin/sh: line 1: yarn: command not found
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP PREEMPT_DYNAMIC Sat Mar 29 01:29:31 UTC 2025
Available memory (MB): 15939
Available CPU cores: 6
Binaries:
Node: 22.14.0
npm: 10.9.2
Yarn: N/A
pnpm: 10.7.0
Relevant Packages:
next: 15.2.4 // Latest available version is detected (15.2.4).
eslint-config-next: N/A
react: 19.1.0
react-dom: 19.1.0
typescript: 5.8.3
Next.js Config:
output: N/A
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to use PayloadCMS with opennextjs-cloudflare. While running in dev mode everything works fine, but when trying to preview or deploy, when accessing any route it gives an error (Error: The Node.js process.exit(1) API was called. Canceling the request.) and no more info is provided.
Steps to reproduce
Just create a simple payloadcms project and try to deploy it using opennextjs-cloudflare, and it won't work.
Here is an minimal reproducible example:
https://github.com/ianlibanio/test-payloadcms-cloudflare
Expected behavior
It's expected for PayloadCMS to work with opennextjs-cloudflare.
@opennextjs/cloudflare version
1.0.0-beta.1
Wrangler version
4.8.0
next info output
Additional context
No response
The text was updated successfully, but these errors were encountered: