What features am I losing moving my next 14 web app from vercel to cloudflare
What features am I losing moving my next 14 web app from vercel to cloudflare
functions directory? I have a simple helloworld.ts that returns the documentation example npm run dev and visit /helloworld I don't see the hello world text. 

https://prerelease-registry.devprod.cloudflare.dev/next-on-pages/runs/9067847845/npm-package-next-on-pages-771npx https://prerelease-registry.devprod.cloudflare.dev/next-on-pages/runs/9067847845/npm-package-next-on-pages-771 and it will build using the build for this prexport const runtime = "edge"; in your page.tsx file and "use server" is for server actions so I think you need to separate that into a different filewrangler.toml.wrangler.toml. Did anyone manage to fix this problem?compatibility_date = "2024-05-13" to wrangler.toml.
runtime = 'experimental-edge on my custom _app but not on the page.tsx itself because I run into missing packages that's related to Firebase Auth. Exporting runtime = 'edge' also doesn't work. Everything works as intended on local development but it breaks on build. Is there anything else I should try?const users = await fetch(USERS_URL, { next: { revalidate: 60 } }).then(…)The script will never generate a response when trying to use fetch() in my generateMetaData function in NextJS 14. I've seen a lot of similar bugs reported on this but haven't been able to find a solution. Is anyone familiar with this?A hanging Promise was canceled. This happens when the worker runtime is waiting for a Promise from JavaScript to resolve, but has detected that the Promise cannot possibly ever resolve because all code and events related to the Promise's I/O context have already finished.helloworld.ts
export function onRequest(context : any) {
return new Response("Hello, world!")
}A hanging Promise was canceled. This happens when the worker runtime is waiting for a Promise from JavaScript to resolve, but has detected that the Promise cannot possibly ever resolve because all code and events related to the Promise's I/O context have already finished.compatibility_date = "2024-05-13"⚡️ ERROR: Failed to produce a Cloudflare Pages build from the project.
⚡️
⚡️ The following routes were not configured to run with the Edge Runtime:
⚡️ - /posts/[slug]
⚡️
⚡️ Please make sure that all your non-static routes export the following edge runtime route segment config:
⚡️ export const runtime = 'edge';runtime = 'experimental-edge_appruntime = 'edge'name = "<TBC>"
compatibility_flags = [ "nodejs_compat" ]
pages_build_output_dir = ".vercel/output/static"