Using Realm with Cloudflare Pages and Nuxt zero-configuration

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

We talk about realm-web and this official Mongo guide, since we are in an edge environment.
And we talk about a Nuxt zero-configuration integration, no Workers, but Pages, implemented as explained inthis official guide by Cloudflare.

Successful developments are made using Cloudflare Workers, but I’ve found issues developing with Pages.
Visiting the test page results in Error 500: Cannot read properties of undefined (reading 'name'), while it works perfectly locally.

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

Anyone has a working repo or example?

Thank you