I saw there is two ways of deploing nextjs to cloudflare - workers and pages. I'm wondering which on
I saw there is two ways of deploing nextjs to cloudflare - workers and pages. I'm wondering which one should I choose and why
export const runtime = "edge"; needed for Next Apps running on the edge with Cloudflare.
next-on-pages be recommended more or less over @opennextjs/cloudflare? Besides some very minute things, I cannot really find any meaningful difference between the two, so I'm wondering which one is better and why.Invalid prerender config for xxx
functions folder. Instead you should use standard NextJS API handlers: https://nextjs.org/docs/app/building-your-application/routing/route-handlers
npm install --force when deploying next to cloudflare pages?

Error: Module not found: Can't resolve 'net'
14 | Object.defineProperty(exports, "__esModule", { value: true });
15 | const events_1 = require("events");
> 16 | const net = require("net");
| ^
17 | const tls = require("tls");
18 | const errors_1 = require("../errors");
19 | const utils_1 = require("../utils");npm install --force23:16:38.104 Cloning repository...
23:16:39.261 From https://github.com/kaankutan/kutan.dev
23:16:39.261 * branch 93d203ed7a7c38795b849e34333e737c69d76c0d -> FETCH_HEAD
23:16:39.261
23:16:39.305 HEAD is now at 93d203e Image optimization added
23:16:39.306
23:16:39.390
23:16:39.391 Using v2 root directory strategy
23:16:39.417 Success: Finished cloning repository files
23:17:32.083 Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH
23:17:32.083 Error: Failed to publish assets. For support, join our Discord (https://discord.gg/cloudflaredev) or create a ticket and reference the deployment ID: 755daaa4-ad45-428f-be89-84e3a2857977