Next.js 16 on Cloudflare Workers: what broke and what didn't
The article explores running Next.js 16 on Cloudflare Workers, detailing specific features that function correctly and those that fail. The author notes that while basic static site generation works, server-side rendering and API routes encounter significant issues due to differences in the Workers runtime environment. For instance, Node.js APIs not available on Workers cause some Next.js internals to break. The post serves as a practical guide for developers considering this deployment combination, emphasizing the need for workarounds or alternative hosting solutions. The author does not provide a comprehensive list of broken features but shares firsthand experience with the setup.
Developers using Next.js 16 may face deployment challenges on Cloudflare Workers.