Skip to content

[static-wado-creator] build fail #22

@bpetitcollot

Description

@bpetitcollot

hello,

I am using static-wado-creator package for a few days but its installation is now broken.

First, packages have been moved from @radical to @radicalimaging but static-cs-lite has not been published on npm registry so npm install fails with this message : npm ERR! 404 Not Found - GET https://registry.npmjs.org/@radicalimaging%2fstatic-cs-lite - Not found

Secondly, config-point v0.5.0 throws an error when executing the mkdicomweb command (for example mkdicomweb -V). I had to downgrade to v0.4.8. See the stack trace below :

ReferenceError: window is not defined
    at Object.<anonymous> (/var/www/tests/new-static-dicomweb/packages/static-wado-creator/node_modules/@radical/static-wado-util/node_modules/config-point/dist/index.umd.js:1:227)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:101:18)
    at Object.<anonymous> (/var/www/tests/new-static-dicomweb/packages/static-wado-creator/node_modules/@radical/static-wado-util/lib/loadConfiguration.js:1:22)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)

We have created a fork of this repository with those modifications to make it work in the meantime until it will be fixed : https://github.com/ITNetworkParis/Static-DICOMWeb

Thanks for your attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions