Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
nodejs_compat compatibility-flags flags not working for Pages functions - Cloudflare Developers
CD
Cloudflare Developers
•
3y ago
•
6 replies
RyanD
nodejs_compat compatibility-flags flags not working for Pages functions
I
've added nodejs
_compat to both prod and preview in the UI but every deploy fails with these errors
Add the
"nodejs
_compat
" compatibility flag to your Pages project to enable Node
.js compatibility
.
I can run it fine locally using
-
-node
-compat
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Nodejs_compat in Page Functions
CD
Cloudflare Developers / pages-help
3y ago
Next on Pages: Internal Error or "nodejs_compat" compatibility error
CD
Cloudflare Developers / pages-help
11mo ago
Node Compat on Pages Functions
CD
Cloudflare Developers / pages-help
2y ago
nodejs_compat still not working as documented
CD
Cloudflare Developers / pages-help
3y ago