[vtk-developers] Errors when running VTK
Sebastien Jourdain
sebastien.jourdain at kitware.com
Mon Nov 27 10:03:14 EST 2017
Did you ran npm install vtk.js --save ?
On Mon, Nov 27, 2017 at 2:42 AM, AhmedCSS <ahmedbenltaief29 at gmail.com>
wrote:
> 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
> _______________________________________________
> 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=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20171127/84f2de05/attachment.html>
More information about the vtk-developers
mailing list