[vtk-developers] Errors when running VTK

AhmedCSS ahmedbenltaief29 at gmail.com
Mon Nov 27 04:42:35 EST 2017


Dear all, 

I'm new to vtk.js, i tried to run this exemple and i did the same steps:
https://kitware.github.io/vtk-js/docs/intro_vtk_as_es6_dependency.html

But when doing npm run build i get this errors: 

ERROR in ./src/index.js 
Module not found: Error: Can't resolve
'vtk.js/Sources/Common/DataModel/DataSet/Constants' in
'/home/ahmed/MyWebProject/src' 
 @ ./src/index.js 7:0-83 
 @ ./src/index.js 

ERROR in ./src/index.js 
Module not found: Error: Can't resolve
'vtk.js/Sources/Common/DataModel/DataSetAttributes/Constants' in
'/home/ahmed/MyWebProject/src' 
 @ ./src/index.js 6:0-93 
 @ ./src/index.js 

ERROR in ./src/index.js 
Module not found: Error: Can't resolve
'vtk.js/Sources/Filters/General/Calculator' in
'/home/ahmed/MyWebProject/src' 
 @ ./src/index.js 3:0-75 
 @ ./src/index.js 

ERROR in ./src/index.js 
Module not found: Error: Can't resolve
'vtk.js/Sources/Filters/Sources/ConeSource' in
'/home/ahmed/MyWebProject/src' 
 @ ./src/index.js 4:0-75 
 @ ./src/index.js 

ERROR in ./src/index.js 
Module not found: Error: Can't resolve 'vtk.js/Sources/Rendering/Core/Actor'
in '/home/ahmed/MyWebProject/src' 
 @ ./src/index.js 2:0-69 
 @ ./src/index.js 

ERROR in ./src/index.js 
Module not found: Error: Can't resolve
'vtk.js/Sources/Rendering/Core/Mapper' in '/home/ahmed/MyWebProject/src' 
 @ ./src/index.js 5:0-70 
 @ ./src/index.js 

ERROR in ./src/index.js 
Module not found: Error: Can't resolve
'vtk.js/Sources/Rendering/Misc/FullScreenRenderWindow' in
'/home/ahmed/MyWebProject/src' 
 @ ./src/index.js 1:0-93 
 @ ./src/index.js 

Please help me to fixe it, 
many thanks.




--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Dev-f1251487.html


More information about the vtk-developers mailing list