ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข17mo agoโ€ข
4 replies
avidrunner

nodejs_compat Compatibility Flag for Nextjs (Cloudflare Pages)

I can deploy my Nextjs website onto Vercel and Netlify directly from Github repo, one click no issues.

But for some reason on Cloudflare Pages I get an error telling me I need to manually add "nodejs_compat" flag to production and build.
Is there any reason for this? And is the Cloudflare team working on resolving this, or it will always be like this?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Pages Function Fails: "Dynamic require" Error Despite nodejs_compat Flag
Cloudflare DevelopersCDCloudflare Developers / general-help
7mo ago
`nodejs_compat` not working on cloudflare sites
Cloudflare DevelopersCDCloudflare Developers / general-help
9mo ago
nodejs version incompatible cloudflare pages cli
Cloudflare DevelopersCDCloudflare Developers / general-help
13mo ago
False Phishing Flag on Cloudflare Pages Portfolio
Cloudflare DevelopersCDCloudflare Developers / general-help
4mo ago