New here & to MongoDb in general, so not sure whether I should be replying to this post or creating a new one, but I have a similar problem.
Followed the Docs to set up Web SDK and when importing realm-web into my Svelte project using:
import * as Realm from 'realm-web'
I have the following error :
Uncaught TypeError: Class extends value # is not a constructor or null
originating from: bundle.dom.es.js:1664:26