Open psavery opened 4 years ago
This issue was also confirmed by @floryst
I have also experienced this.
We experience this issue in our own project (react-vtkjs-viewport
) when attempting this as well. I assumed it was related to how WebPack treats symlinked dependencies. We haven't investigated the issue thoroughly -- just making note.
CC: @jamesapetts
Yup my initial investigation surrounds webpack and symlinked deps. Might dig into it later.
For some reason, it looks like webpack is having some big issues compiling paraview glance if there is a soft link to a local vtk.js. You end up getting compile errors such as:
And lots of module not found errors such as:
Strangely enough, if you recursively copy the local
vtk.js
directory intonode_modules
instead of creating a soft link, there are no issues. So it seems to be an issue only with soft linking...