kainino0x / holoplay-webxr

No longer maintained! Please move to https://github.com/Looking-Glass/looking-glass-webxr
https://kai.graphics/holoplay-webxr/
Apache License 2.0
17 stars 24 forks source link

Uncaught TypeError: Class extends value undefined is not a constructor or null #2

Closed michaelybecker closed 2 years ago

michaelybecker commented 3 years ago

image

image

Trying this in Chrome 90.0.4430.212 (Official Build) and looking glass portrait. Holoplay Studio is up and running. After some challenges, was able to run the unpacked extension and clone the right commit of the webxr samples, but I keep getting this error. Tried with and without the WebXR extension. Any idea what might be going on? Super keen to get webxr running on this beautiful device!

kainino0x commented 3 years ago

That sounds like something went wrong in the build... I don't know exactly what. This extension is standalone, it doesn't depend on another. However it probably conflicts with the WebXR Emulator extension.

The live demo pages work without any extensions installed: https://kai.graphics/holoplay-webxr/third_party/webxr-samples/ If that doesn't work, try disabling any of the WebXR extensions you do have installed.

kainino0x commented 3 years ago

Oh, I think this may happen if you try to build locally but you don't git submodule update --init first. This results in warnings (but unfortunately no errors) in the build.

kainino0x commented 3 years ago

Also note that there is a pre-built version in the repository, so you don't need to do this unless you're actually changing the code. You can just point Chrome/Firefox directly at your local, fresh clone of holoplay-webxr.