-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I am encountering the following error, when using static-wado-creator to make a DICOMweb from a DICOM Part 10:
$ node packages/static-wado-creator/bin/mkdicomweb.js create --thumb ./input -o ./output
[...]
[INFO] Start to read j2k main header (0).
[INFO] Main header has been correctly decoded.
[INFO] Header of tile 1 / 1 has been read.
transcoded image to 1.2.840.10008.1.2.4.80 of size 115985
Error while generating thumbnail:: TypeError: createBrowser is not a function <------- This one here
It's a non-blocking error that occurs in ThumbnailService when using a function from static-cs-lite. To be accurate, it's located here. The documentation of jsdom-context-require shows that we should use {} when exporting createBrowser specifically, probably because there are multiple exported objects in the package and no default one.
Not sure if I'm doing this right, but if I understood the issue correctly, and that is actually an issue, would it be okay to fix it ?
Thank you !
npm: 10.8.2
node: 20.18.1 (but also replicated on 18.20.5 and 16.20.2)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels