Nextjs doesn’t really work on cloudflare with the latest versions. There is an adapter but it’s buggy as hell. The direction is also likely to continue: https://omarabid.com/nextjs-vercel
Source: I use cloudflare and used to run my app there (nextjs) and had to do a migration to vite.js. So the way I see it, this is cloudflare response to vercel.
My god. Every time I touch Next.js in some project I think “hey, this actually doesn’t feel so bad to develop with, dare I say it feels nice?“ and every time I read about it I think “what the hell, this is the worst choice you can make“.
It’s wild that they’re somewhat taking the whole React ecosystem with them.
Following your link, the fault for this appears to lie entirely with Vercel management.
Cross fingers that CloudFlare never try similar lock-in games, now that they control Astro?