paraviewweb icon indicating copy to clipboard operation
paraviewweb copied to clipboard

npm install since v3.2.15 broken on windows

Open knopkem opened this issue 3 years ago • 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?

knopkem avatar Nov 19 '21 05:11 knopkem

@jourdain should prebuild.sh be rewritten in js for cross-platform usage ? or should svg-sprite-loader be bumped ?

finetjul avatar Jan 28 '22 12:01 finetjul

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.

jourdain avatar Jan 28 '22 16:01 jourdain

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?

chiyandetaotie avatar Apr 08 '24 08:04 chiyandetaotie

Updating the build process of the library should fix the issue. PR are welcome, but that project is not maintained anymore.

jourdain avatar Apr 08 '24 14:04 jourdain