npm install since v3.2.15 broken on windows
Opened this issue · 4 comments
High-level description
Trying to npm install paraviewweb
leads to error.
Steps to reproduce
npm install paraviewweb
Detailed behavior
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c ./config/prebuild.sh
npm ERR! '.' is not recognized as an internal or external command,
Expected behavior
It installs correctly
Environment
- paraviewweb: 3.2.15+
- OS: Windows 10
Looking at the changes since 3.2.14, the new way to install is by calling ./config/prebuild.sh which seems a linux script. Any reason why cutting off cross platform support?
@jourdain should prebuild.sh be rewritten in js for cross-platform usage ? or should svg-sprite-loader be bumped ?
The rewrite for cross platform could be good.
For the svg-sprite-loader
it might be trickier as some logic may be different in the new loader and make all the svg handling in the code base wrong.
But in general pvw is in maintenance mode and we recommend using vtk.js for any VTK/PV Web integration.
I meet the same problem on the windows10,
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c ./config/prebuild.sh npm ERR! '.' is not recognized as an internal or external command,
How to solve it?
Updating the build process of the library should fix the issue. PR are welcome, but that project is not maintained anymore.