# Node.js and webpack deployment of GeometryViewer with AR

**URL:** https://discourse.vtk.org/t/node-js-and-webpack-deployment-of-geometryviewer-with-ar/10482
**Category:** VR/AR
**Created:** [January 17, 2023, 4:30pm UTC](https://discourse.vtk.org/t/node-js-and-webpack-deployment-of-geometryviewer-with-ar/10482 "2023-01-17T16:30:58Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![tbirdso](https://discourse.vtk.org/user_avatar/discourse.vtk.org/tbirdso/32/3137_2.png) [@tbirdso](https://discourse.vtk.org/u/tbirdso)
#### Post date: [January 17, 2023, 8:46pm UTC](https://discourse.vtk.org/t/node-js-and-webpack-deployment-of-geometryviewer-with-ar/10482/3 "2023-01-17T20:46:28Z")

</div>

I am able to reproduce the issue and have logged for investigation at [`GeometryViewer` WebXR option does not appear on local deployment · Issue #2674 · Kitware/vtk-js · GitHub](https://github.com/Kitware/vtk-js/issues/2674).

A workaround in the meantime is to use adb for wireless debugging at `localhost`:

1. Make sure your Android device is in developer mode
2. Connect your Android device to your PC
3. Open a console on your PC and run `adb devices` and verify your device is present
4. Run `adb tcpip 5555` to listen for a connection on port 5555
5. Disconnect your device from the PC
6. Find the wireless IP address for your device under wi-fi settings
7. On your PC run `adb connect <your-device-ip>` to connect to the device over wi-fi
8. Run `adb reverse tcp:9999 tcp:9999` to allow adb to route traffic between port 9999 on both the PC and mobile device
9. Build and run `GeometryViewer` on your PC and visit the `localhost` example address on your mobile device. For the `diskout.vtp` example this URL is [http://localhost:9999/?fileURL=https://data.kitware.com/api/v1/item/59de9de58d777f31ac641dc5/download](http://localhost:9999/?fileURL=https://data.kitware.com/api/v1/item/59de9de58d777f31ac641dc5/download) .

---

_[View the full topic](https://discourse.vtk.org/t/node-js-and-webpack-deployment-of-geometryviewer-with-ar/10482)._
