-
Notifications
You must be signed in to change notification settings - Fork 22
Can't run the example #7
Comments
What about |
Thank you @finetjul ! Unfortunately it doesn't work neither. As |
The examples haven't been updated in a while. I will do that when I get the time. In the meantime, you should run the commands like so: |
@floryst I couldn't get it to work. It's unfortunate that this repo is not maintained anymore. I find a bit difficult to find good elementary references for vtk.js. Are you planning to revise this repo? are the any other public repos that replace this one? |
I'll update the repo for the newer webpack versions, but the examples won't be updated as much because they're associated with existing tutorials. |
Are the tutorials available online or only during Kitware official trainings? |
Hello, i've tried to get in touch with vtkjs, but the code are so old, for example to load a slicer, it will never work like in the repo code, i guess it un useful like that to be downgraded version |
Can you please provide a specific code that you can't run? |
As im not really experienced with vtk and thats why im here, i found it hard to map the new version of code with the one bellow, its one provided in the tutorial for vtk js in order to render a slicer,
|
Improved version of the code: `const renderer = fullScreenRenderer.getRenderer();
|
Unfortunately I don't have the time to update this repository to work with the latest vtk.js versions. You can refer to the vtk.js examples page for up-to-date examples. |
Hi, thank you so much for this great repo!
standalone.html works, but after the npm install (that said there were 157 vulnerabilities (4 low, 52 moderate, 79 high, 22 critical) ), I've tried both '''npm run dev:cone''' and '''npm run dev:image-slicing''' but had this block:
'''
(node:5157) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use
node --trace-deprecation ...
to show where the warning was created)(node:5157) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /home/tesla/EsempioVtkGit/vtk.js-examples/dist
node:internal/crypto/hash:68
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/home/tesla/EsempioVtkGit/vtk.js-examples/node_modules/webpack/lib/util/createHash.js:90:53)
at NormalModule._initBuildHash (/home/tesla/EsempioVtkGit/vtk.js-examples/node_modules/webpack/lib/NormalModule.js:386:16)
at handleParseError (/home/tesla/EsempioVtkGit/vtk.js-examples/node_modules/webpack/lib/NormalModule.js:434:10)
at /home/tesla/EsempioVtkGit/vtk.js-examples/node_modules/webpack/lib/NormalModule.js:466:5
at /home/tesla/EsempioVtkGit/vtk.js-examples/node_modules/webpack/lib/NormalModule.js:327:12
at /home/tesla/EsempioVtkGit/vtk.js-examples/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/tesla/EsempioVtkGit/vtk.js-examples/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at Array. (/home/tesla/EsempioVtkGit/vtk.js-examples/node_modules/loader-runner/lib/LoaderRunner.js:205:4) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v21.5.0
'''
Do you think it depends on my version of nodeJs?
Thank you for the help
The text was updated successfully, but these errors were encountered: