<div dir="ltr">Hi Albrecht,<div><br></div><div>I fixed the url in the documentation, but I just tried the following and it worked:</div><div><br></div><div>




<span></span>





<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,213,0);background-color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">  </span>504<span class="gmail-Apple-converted-space">  </span>git clone <a href="https://github.com/Kitware/light-viz.git">https://github.com/Kitware/light-viz.git</a></span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,213,0);background-color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">  </span>505<span class="gmail-Apple-converted-space">  </span>cd light-viz/</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,213,0);background-color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">  </span>506<span class="gmail-Apple-converted-space">  </span>npm i</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,213,0);background-color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">  </span>507<span class="gmail-Apple-converted-space">  </span>npm run build:release</span></p>


<br></div><div>Thanks for reporting the issue,</div><div><br></div><div>Seb</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 16, 2018 at 5:22 AM, Albrecht Kyrieleis <span dir="ltr"><<a href="mailto:akyrieleis@gmail.com" target="_blank">akyrieleis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>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.</div><div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">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 ?</span><br></div><div><br></div><div>1)  running <span style="color:rgb(77,77,76);font-family:"Source Code Pro",Monaco,Menlo,Consolas,monospace;font-size:14.25px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(238,238,238);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">git clone git@github.com:kitware/light-<wbr>viz.git  </span><span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="background-color:rgb(255,255,255)">results in an unresponsive (for about 10mins) terminal saying 'cloning into 'light-viz''.</span></span></div><div><span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="background-color:rgb(255,255,255)">2) I have previously just installed light-viz using   </span></span><span style="font-family:inherit;font-size:14.25px;font-style:inherit;font-weight:inherit;background-color:rgb(238,238,238);color:rgb(77,77,76)">npm install -g light-viz    </span><span style="font-family:inherit;font-style:inherit;font-weight:inherit;background-color:rgb(255,255,255)">which worked fine. But running npm run build results in the  following error:</span><span style="font-family:inherit;font-style:inherit;font-weight:inherit"></span></div><div><span style="font-family:inherit;font-style:inherit;font-weight:inherit;background-color:rgb(255,255,255)"><br></span></div><div><span style="background-color:rgb(255,255,255)"><div>> light-viz@1.18.1 build /usr/lib/node_modules/light-<wbr>viz_test</div><div>> webpack --progress --colors</div><div><br></div><div>Hash: 90f15ab930dca86c008e                                                         </div><div>Version: webpack 3.10.0</div><div>Time: 124ms</div><div>      Asset     Size  Chunks             Chunk Names</div><div>LightViz.js  3.61 kB       0  [emitted]  main</div><div>   [0] ./lib/app.js-exposed 60 bytes {0} [built]</div><div>   [1] (webpack)/buildin/global.js 509 bytes {0} [built]</div><div>   [2] ./lib/app.js 317 bytes {0} [built] [failed] [1 error]</div><div><br></div><div>ERROR in ./lib/app.js</div><div>Module parse failed: Unexpected token (20:18)</div><div>You may need an appropriate loader to handle this file type.</div><div>| function loading(message = 'Loading ParaView...') {</div><div>|   ReactDOM.<wbr>unmountComponentAtNode(<wbr>container);</div><div>|   ReactDOM.render(<<wbr>ProgressLoaderWidget message={message} />, container);</div><div>| }</div><div>| </div><div> @ ./lib/app.js-exposed 1:38-59</div><div>npm ERR! code ELIFECYCLE</div><div>npm ERR! errno 2</div><div>npm ERR! light-viz@1.18.1 build: `webpack --progress --colors`</div><div>npm ERR! Exit status 2</div><div>npm ERR! </div><div>npm ERR! Failed at the light-viz@1.18.1 build script.</div><div>npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</div><div><br></div><div>npm ERR! A complete log of this run can be found in:</div><div>npm ERR!     /root/.npm/_logs/2018-04-<wbr>16T11_00_20_346Z-debug.log</div><div style="font-family:inherit;font-style:inherit;font-weight:inherit"><br></div><div style="font-family:inherit;font-style:inherit;font-weight:inherit">Thank you very much for any help</div><span class="HOEnZb"><font color="#888888"><div style="font-family:inherit;font-style:inherit;font-weight:inherit"><br></div><div style="font-family:inherit;font-style:inherit;font-weight:inherit">Albrecht</div></font></span></span></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
<br></blockquote></div><br></div>