[vtkusers] VTK.js - "Using vtk.js as an ES6 dependency" example not working
oblakr
2448.rok at gmail.com
Sun Jun 4 15:15:52 EDT 2017
Hi,
the following example:
https://kitware.github.io/vtk-js/docs/intro_vtk_as_es6_dependency.html
Fails upon the "npm run build" command. The following error is thrown:
> my-web-project at 0.0.1 build C:\Users\Rok\Desktop\MyWebProject
> webpack
module.js:471
throw err;
^
Error: Cannot find module
'./node_modules/vtk.js/Utilities/config/webpack.loaders.js'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous>
(C:\Users\*****\Desktop\MyWebProject\webpack.config.js:4:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
There is no webpack.loaders.js inside the Utilities/config folder.
What am I doing wrong here?
--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-js-Using-vtk-js-as-an-ES6-dependency-example-not-working-tp5743535.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list