When will Pages support Node 20+?

Don't see any option for a version that's greater than Node 18, which is causing a bunch of our code to fail since we've been working with 23 locally. Any plans to support later Node versions for Pages?
No description
5 Replies
Hard@Work
Hard@Work•2w ago
Have you tried setting NODE_VERSION to 20?
polyphilz
polyphilzOP•2w ago
yeahhhh just tried it and that worked 🤦 - thanks!
polyphilz
polyphilzOP•2w ago
Actually looking at the logs it seems the NODE_VERSION can't be overridden the way you described:
2025-03-27T01:35:19.35241Z .. |  WARN  Unsupported engine: wanted: {"node":"^22.0.0"} (current: {"node":"v18.17.1","pnpm":"8.15.4"})
2025-03-27T01:35:19.35241Z .. |  WARN  Unsupported engine: wanted: {"node":"^22.0.0"} (current: {"node":"v18.17.1","pnpm":"8.15.4"})
polyphilz
polyphilzOP•2w ago
The node version v18.17.1 is in line with what's in the docs here: https://developers.cloudflare.com/pages/configuration/build-image/#supported-languages-and-tools
Cloudflare Docs
Build image · Cloudflare Pages docs
Cloudflare Pages' build environment has broad support for a variety of languages, such as Ruby, Node.js, Python, PHP, and Go.
From An unknown user
From An unknown user
polyphilz
polyphilzOP•2w ago
Please let me know if I'm doing something wrong here, otherwise the original question stands - are there any plans for Node 22 support in Pages?

Did you find this page helpful?