[vtk-developers] Errors when running VTK

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Nov 28 09:53:11 EST 2017


Do you see a directory "vtk.js" under ./node_modules?

On Tue, Nov 28, 2017 at 1:57 AM, Ahmed Ben Ltaief <
ahmedbenltaief29 at gmail.com> wrote:

> Yes, i followed the same steps
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Garanti
> sans virus. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_-6551614364501692194_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> 2017-11-27 16:03 GMT+01:00 Sebastien Jourdain <sebastien.jourdain at kitware.
> com>:
>
>> 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/20171128/7654e252/attachment.html>


More information about the vtk-developers mailing list