Failed to load module when locally running xrextras

Hi,

I want to run XRExtras locally so I can amend some of the code. I’ve downloaded the relevant directories from Github and amended the file paths. However when I run I get this error (or similar) from multiple files (see error below). Does anyone know how I can resolve this?

Failed to load module script: Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.

Thanks,
Callum

Are developing locally and planning to self-host the experience, or are you developing in the cloud editor?

Developing locally and planning self hosting on AWS. Currently just testing locally using http-server as per documentation.

Hey @Evan any other thoughts on how this could work?