Normally if there’s issues with the runtime declarations, it’ll show the files/routes in the build l
Normally if there’s issues with the runtime declarations, it’ll show the files/routes in the build log then fail.
next build and it'll show which routes are considered static


https://pkg.pr.new/@opennextjs/cloudflare@experimental. I would recommend using the OpenNext discord for discussions about that adaptor.Configuration file for Pages projects does not support "workflows"
GET /, resulting in bad SEO, since Google thinks it's down. Had to switch to Vercel. Anyone know how to fix this error?
@cloudflare/next-on-pages@1.13.6 we can't access our website, the deployment is successful, but access the website itself it's impossible and always return the 500 error page.
async_hooks without a node: prefix, so it requires the newer version of nodejs_compat which was updated on compat dates after Sept 23rd.

✘ TypeError: Illegal invocation: function called with incorrect this reference. See https://developers.cloudflare.com/workers/observability/errors/#illegal-invocation-errors for details. on npm create cloudflare@latest -- my-next-app --framework=next and then running npx @next/codemod@canary upgrade latest shows the same error, filed https://github.com/cloudflare/next-on-pages/issues/912vercel@39.1.2, forcing vercel@39.1.1 fixes it.next-on-pages in production with a lot of traffic quite successfully. It's a lot of effort for Cloudflare & co (and the individual contributors like James) to chase the ever-moving goal post, but with a bit of fiddling and pinning dependencies responsively, it runs perfectly. net in dev21:46:54.158 ✓ Generating static pages (5/5)
21:46:54.454 Finalizing page optimization ...
21:46:54.454 Collecting build traces ...
21:46:59.209
21:46:59.213 Route (app) Size First Load JS
21:46:59.213 ┌ ○ / 126 kB 229 kB
21:46:59.213 └ ○ /_not-found 140 B 87.4 kB
21:46:59.213 + First Load JS shared by all 87.2 kB
21:46:59.213 ├ chunks/23-1198366cbb09edbc.js 31.6 kB
21:46:59.213 ├ chunks/fd9d1056-a7223fb5cd24b6ec.js 53.7 kB
21:46:59.213 └ other shared chunks (total) 1.95 kB
21:46:59.214
21:46:59.214
21:46:59.214 ○ (Static) prerendered as static content
21:46:59.214
21:46:59.248 Finished
21:46:59.249 Note: No functions dir at /functions found. Skipping.
21:46:59.249 Validating asset output directory
21:46:59.249 Error: Output directory ".vercel/output/static" not found.
21:47:00.202 Failed: build output directory not found○ (Static) prerendered as static content
● (SSG) prerendered as static HTML (uses getStaticProps)
ƒ (Dynamic) server-rendered on demand[
{
"message": [
"TypeError: Illegal invocation: function called with incorrect `this` reference. See https://developers.cloudflare.com/workers/observability/errors/#illegal-invocation-errors for details."
],
"level": "error",
"timestamp": 1732129720148
},
{
"message": [
"error code: 1016"
],
"level": "error",
"timestamp": 1732129720300
},
{
"message": [
"Error: The 'cache' field on 'RequestInitializerDict' is not implemented."
],
"level": "error",
"timestamp": 1732129720300
}
]"Error: No such module \"__next-on-pages-dist__/functions/src/async_hooks\".\n imported from \"__next-on-pages-dist__/functions/src/middleware.func.js\""✘ [ERROR] Could not resolve "async_hooks"
16:58:59.136
16:58:59.136 <stdin>:379:680:
16:58:59.136 379 │ ...:()=>N});var R=A(require("async_hooks")),S="@next/request-cont...
16:58:59.136 ╵ ~~~~~~~~~~~~~
16:58:59.137
16:58:59.137 The package "async_hooks" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.✘ TypeError: Illegal invocation: function called with incorrect reference. See https://developers.cloudflare.com/workers/observability/errors/#illegal-invocation-errors for details.next@15.0.3
@cloudflare/next-on-pages@1.13.6
wrangler@3.91.0npm create cloudflare@latest -- my-next-app --framework=nextnpx @next/codemod@canary upgrade latestvercel@39.1.2vercel@39.1.1net