Hey I am trying to use the higlass-multvec library in React with Vite, but in the browser I get the error:
Uncaught TypeError: Failed to resolve module specifier "d3-scale-chromatic". Relative references must start with either "/", "./", or "../"
I don't use d3-scale-chromatic anywhere in my project and the problem is fixed, when A: I remove the higlass-multivec package as a dependency or B: I add the d3-scale-chromatic package as a dependency.
So I assume the d3-scale-chromatic package should be added as a higlass-multivec dependency not only as a devdependency.
Hey I am trying to use the higlass-multvec library in React with Vite, but in the browser I get the error:
Uncaught TypeError: Failed to resolve module specifier "d3-scale-chromatic". Relative references must start with either "/", "./", or "../"I don't use d3-scale-chromatic anywhere in my project and the problem is fixed, when A: I remove the higlass-multivec package as a dependency or B: I add the d3-scale-chromatic package as a dependency.
So I assume the d3-scale-chromatic package should be added as a higlass-multivec dependency not only as a devdependency.