<div dir="ltr">Hi!<div>vtk-js was just updated on Friday to use Webpack 2.0, and the webpack.loaders.js was re-factored into three separate files.</div><div>It seems the example hasn't been updated yet. </div><div>You could either check out  version 2.24.8 - just before the Webpack 2.0 transition, or take a stab at updating the example, and post or submit your modifications!</div><div>Sorry for the confusion,</div><div>Aron</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 4, 2017 at 3:15 PM, oblakr <span dir="ltr"><<a href="mailto:2448.rok@gmail.com" target="_blank">2448.rok@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
the following example:<br>
<a href="https://kitware.github.io/vtk-js/docs/intro_vtk_as_es6_dependency.html" rel="noreferrer" target="_blank">https://kitware.github.io/vtk-<wbr>js/docs/intro_vtk_as_es6_<wbr>dependency.html</a><br>
<br>
Fails upon the "npm run build" command. The following error is thrown:<br>
<br>
> my-web-project@0.0.1 build C:\Users\Rok\Desktop\<wbr>MyWebProject<br>
> webpack<br>
<br>
module.js:471<br>
    throw err;<br>
    ^<br>
<br>
Error: Cannot find module<br>
'./node_modules/vtk.js/<wbr>Utilities/config/webpack.<wbr>loaders.js'<br>
    at Function.Module._<wbr>resolveFilename (module.js:469:15)<br>
    at Function.Module._load (module.js:417:25)<br>
    at Module.require (module.js:497:17)<br>
    at require (internal/module.js:20:19)<br>
    at Object.<anonymous><br>
(C:\Users\*****\Desktop\<wbr>MyWebProject\webpack.config.<wbr>js:4:15)<br>
    at Module._compile (module.js:570:32)<br>
    at Object.Module._extensions..js (module.js:579:10)<br>
    at Module.load (module.js:487:32)<br>
    at tryModuleLoad (module.js:446:12)<br>
    at Function.Module._load (module.js:438:3)<br>
<br>
There is no webpack.loaders.js inside the Utilities/config folder.<br>
What am I doing wrong here?<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-js-Using-vtk-js-as-an-ES6-dependency-example-not-working-tp5743535.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-js-Using-vtk-js-as-an-<wbr>ES6-dependency-example-not-<wbr>working-tp5743535.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>