# vtkXRRenderWindow is web-served "vtk.js" service

**URL:** https://discourse.paraview.org/t/vtkxrrenderwindow-is-web-served-vtk-js-service/15370
**Category:** Web Support
**Tags:** vtk
**Created:** [September 10, 2024, 2:12am UTC](https://discourse.paraview.org/t/vtkxrrenderwindow-is-web-served-vtk-js-service/15370 "2024-09-10T02:12:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wsherman](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8797f3/32.png) [@wsherman](https://discourse.paraview.org/u/wsherman)
#### Post date: [September 10, 2024, 2:12am UTC](https://discourse.paraview.org/t/vtkxrrenderwindow-is-web-served-vtk-js-service/15370/1 "2024-09-10T02:12:02Z")

</div>

Hello, I have a sample “vtk.js” application working using “[https://unpkg.com/vtk.js](https://unpkg.com/vtk.js)” to provide the VTK functionality, however that version of VTK doesn’t seem to have the XR stuff available, as I get the error message:  
Uncaught TypeError: vtk.Rendering.Misc.vtkXRRenderWindow is undefined

I tried using “[cdn.jsdelivr.net](http://cdn.jsdelivr.net)”, which requires using the “npm/@kitware/vtk.js@30.0.0/vtk.js” path, which may or may-not have “vtkXRRenderWindow”, but I can’t find out, because I now get the error:

Uncaught TypeError: The specifier “globalthis” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “…/” or “/”.

I feel like I’m close with the [unpkg.com/vtk.js](http://unpkg.com/vtk.js) as it seems to have the “vtkXRRenderWindow” class, but doesn’t have the “newInstance()” method.

Does anyone have an example of a vtk.js program with WebXR features, and making use of a remotely served “vtk.js” package?

```
Thanks, Bill

```
