The above link works completely fine when I visit it, but when I copy the exact same code and replace the modules with modules from cdn I get the following error:
Error: Failed to execute ‘requestHitTestSource’ on ‘XRSession’: Hit test feature is not supported by the session