Help with building Paraview Glance

Hello I am trying to build paraview-glance from Kitware/ paraview-glance GitHub repo. It was successful on my personal laptop but unable to do so in my office machine. (I use enterprise registry and they prevent downloading package from external github)

The issue I found is with kw-doc dependency. I get the following error.

npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/floryst/kw-doc.git
npm ERR!
npm ERR! fatal: read error: Invalid argument
npm ERR!
npm ERR! exited with error code: 128

I am planning to download the file and maintain a local copy. But I don’t want to add kw-doc in version management. Can anyone suggest an efficient work around ?

Also is the kw-docs necessary. I see them in dev dependency. If it is required why can’t it be published to npm ?

Hello @Ramu, I think you may have more answer using the ParaView discourse.
They have a “Web support” category that may fit your need.

Thanks, I wasn’t aware of it I will post it there

It seems you have an old git installed in your office computer. Have you checked whether it is from a recent version?

The Git issue might be true ( Its an older version ). But my issue has been resolved. The maintainers of the project pointed to git repo instead of npm. After changing the dependency version in my package.json I was able to build the application.

I posted the same question in Paraview Glance as proposed by @Charles_Gueunet
https://discourse.paraview.org/t/help-with-building-paraview-glance/5186/2

1 Like