NodeJS Compatibility Error no nodejs_compat flag set

What happened?

The page you've requested has been built using @cloudflare/next-on-pages, but hasn't been properly configured.

What can I do?

If you are the owner of this website:
you should go to the Pages Project's compatibility flags settings section and add the compat_nodejs flag to both your production and preview deployments.

Access your Pages project and go to the function settings page.

Then in the compatibility flags section for both the production and preview deployments type nodejs_compat in the input box and click on save to apply the changes: how to input flags

At the end of the operation this is how your compatibility flags section should look like: result of flags setting

Important! After setting the compatibility flags you need to re-deploy your application in order for them to take effect.