Build failing because of NodeJS Compatibility

Hi there! I'm getting the following error during build:
Add the "nodejs_compat" compatibility flag to your Pages project to enable Node.js compatibility.
Add the "nodejs_compat" compatibility flag to your Pages project to enable Node.js compatibility.
I've tried adding nodejs_compat in "Settings/Functions/Compatibility flags" but to no avail. I've also tried adding a functions/wrangler.toml but it does not seem to have an effect. Any other things I could try? I've read the docs thrice but have not found anything and feel a bit lost.
2 Replies
gregor
gregor•10mo ago
Push 📌
Cyb3r-Jak3
Cyb3r-Jak3•10mo ago
Have you done a redeploy since adding it?