[Paraview-developers] Development on Light-Viz

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Apr 16 10:31:32 EDT 2018


Hi Albrecht,

I fixed the url in the documentation, but I just tried the following and it
worked:

  504  git clone https://github.com/Kitware/light-viz.git

  505  cd light-viz/

  506  npm i

  507  npm run build:release

Thanks for reporting the issue,

Seb

On Mon, Apr 16, 2018 at 5:22 AM, Albrecht Kyrieleis <akyrieleis at gmail.com>
wrote:

> Hi,
> I want to customize Light-Viz (under Linux CentOS 7) and started to go
> through the steps on the developments page but ran into a few problems.
>
> 1) I want to add a new functionality including a new 'button' for
> Light-Viz. So I think I would amend the scripts in dir lib adn server and
> then do a npm run build:release to produce content in dir distro which is
> seen by the webserver. Is that right ?
>
> 1)  running git clone git at github.com:kitware/light-viz.git  results in an
> unresponsive (for about 10mins) terminal saying 'cloning into 'light-viz''.
> 2) I have previously just installed light-viz using   npm install -g
> light-viz    which worked fine. But running npm run build results in the
> following error:
>
> > light-viz at 1.18.1 build /usr/lib/node_modules/light-viz_test
> > webpack --progress --colors
>
> Hash: 90f15ab930dca86c008e
>
> Version: webpack 3.10.0
> Time: 124ms
>       Asset     Size  Chunks             Chunk Names
> LightViz.js  3.61 kB       0  [emitted]  main
>    [0] ./lib/app.js-exposed 60 bytes {0} [built]
>    [1] (webpack)/buildin/global.js 509 bytes {0} [built]
>    [2] ./lib/app.js 317 bytes {0} [built] [failed] [1 error]
>
> ERROR in ./lib/app.js
> Module parse failed: Unexpected token (20:18)
> You may need an appropriate loader to handle this file type.
> | function loading(message = 'Loading ParaView...') {
> |   ReactDOM.unmountComponentAtNode(container);
> |   ReactDOM.render(<ProgressLoaderWidget message={message} />,
> container);
> | }
> |
>  @ ./lib/app.js-exposed 1:38-59
> npm ERR! code ELIFECYCLE
> npm ERR! errno 2
> npm ERR! light-viz at 1.18.1 build: `webpack --progress --colors`
> npm ERR! Exit status 2
> npm ERR!
> npm ERR! Failed at the light-viz at 1.18.1 build script.
> npm ERR! This is probably not a problem with npm. There is likely
> additional logging output above.
>
> npm ERR! A complete log of this run can be found in:
> npm ERR!     /root/.npm/_logs/2018-04-16T11_00_20_346Z-debug.log
>
> Thank you very much for any help
>
> Albrecht
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=
> Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview-developers/attachments/20180416/7c6b2e3f/attachment.html>


More information about the Paraview-developers mailing list