Unable to build Dash VTK


I am trying to build Dash VTK (dash-vtk/CONTRIBUTING.md at master · plotly/dash-vtk · GitHub). However it is not working for me. It is because kitware/vtk.js dependency is missing in package.json. However even after installing latest package, running examples are failing. To reproduce please follow the steps:

  1. Clone repo
  2. npm install
  3. npm run build

Following is the generated error:

(This error originated from the built-in JavaScript code that runs Dash apps. Click to see the full stack trace or open your browser’s console.)
TypeError: Cannot read properties of null (reading ‘getSize’)