Using Mongoose with Cloudflare Pages and Nuxt

Is it possible to find a solution for using Mongoose within Cloudflare Pages or a technical explanation of why it cannot be used?

We talk about a Nuxt zero-configuration integration, no Workers, but Pages, implemented as explained inthis official guide by Cloudflare.

After failed tests and googling, it seams that it’s impossible to use Mongoose within Cloudflare Pages, despite the use of the nodejs_compat compatibility flag.

I’ve created a test repo to reproduce the issue, with the implementation process.

Anyone has a working repo or example?

Thank you