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
Was this page helpful?