Giter Site home page Giter Site logo

static-dicomweb's People

Contributors

dsmith1547 avatar georift avatar ibrahimcsae avatar ladeirarodolfo avatar pedrokohler avatar rodrigobasilio2022 avatar wayfarer3130 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

static-dicomweb's Issues

Feat: add a flag to dicom as P10 multiframe + save byte range metadata per frame

Context:
Having several small files in S3 can have latency issues on retrieval. Additionally, each get operator has an API cost which can scale up.
This feature request would save dicom pixel data as multiframe as a single file object and save the byte range offsets in the BulkDataURI metadata of the series/metadata.json
For dicom volumes, which are very common, this gives the Client the option of querying a single frame if byte range is provided. Or the client could simply download the entire volume with a single get to maximize the download bandwidth.

Error during static wado creation

Hi,

when I try to convert a DICOM into a static wado, I have this error:

`
snoots@box:/tmp$ mkdicomweb -o test dicom/jpeg8bit.dcm
Loaded configuration from undefined
done
Writing deduplicated hash data set data with 4 extract items and 1 instance items
Wrote updated deduplicated data for study 1.3.12.2.1107.5.4.3.123456789012345.19950922.121803.6
TypeError: Cannot read properties of undefined (reading 'Value')
TypeError: Cannot read properties of undefined (reading 'Value')
/tmp/a/Static-DICOMWeb/node_modules/@cornerstonejs/codec-libjpeg-turbo-8bit/dist/libjpegturbojs.js:9
var Module=typeof libjpegturbojs!=="undefined"?libjpegturbojs:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_HAS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_HAS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_NODE=ENVIRONMENT_HAS_NODE&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module"locateFile"}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;var nodeFS;var nodePath;if(ENVIRONMENT_IS_NODE){scriptDirectory=dirname+"/";read=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath"normalize";return nodeFS"readFileSync"};readBinary=function readBinary(filename){var ret=read(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\/g,"/")}arguments_=process["argv"].slice(2);process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process"on";quit_=function(status){process"exit"};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){return read(f)}}readBinary=function readBinary(f){var data;if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){arguments_=scriptArgs}else if(typeof arguments!="undefined"){arguments_=arguments}if(typeof quit==="function"){quit_=function(status){quit(status)}}if(typeof print!=="undefined"){if(typeof console==="undefined")console={};console.log=print;console.warn=console.error=typeof printErr!=="undefined"?printErr:print}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDir){scriptDirectory=scriptDir}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var STACK_ALIGN=16;function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;if(end>emscripten_get_heap_size()){abort()}HEAP32[DYNAMICTOP_PTR>>2]=end;return ret}function getNativeTypeSize(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return 4}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0,"getNativeTypeSize invalid bits "+bits+", type "+type);return bits/8}else{return 0}}}}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}function convertJsFunctionToWasm(func,sig){return func}function addFunctionWasm(func,sig){var table=wasmTable;var ret=table.length;try{table.grow(1)}catch(err){if(!err instanceof RangeError){throw err}throw"Unable to grow wasm table. Use a higher value for RESERVED_FUNCTION_POINTERS or set ALLOW_TABLE_GROWTH."}try{table.set(ret,func)}catch(err){if(!err instanceof TypeError){throw err}assert(typeof sig!=="undefined","Missing signature argument to addFunction");var wrapped=convertJsFunctionToWasm(func,sig);table.set(ret,wrapped)}return ret}function removeFunctionWasm(index){}var funcWrappers={};function dynCall(sig,ptr,args){if(args&&args.length){return Module["dynCall"+sig].apply(null,[ptr].concat(args))}else{return Module["dynCall_"+sig].call(null,ptr)}}var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var GLOBAL_BASE=1024;var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];var WebAssembly={Memory:function(opts){return{buffer:new ArrayBuffer(opts["initial"]*65536),grow:function(amount){var ret=__growWasmMemory(amount);return ret}}},Table:function(opts){var ret=new Array(opts["initial"]);ret.grow=function(by){if(ret.length>=307+0){abort("Unable to grow wasm table. Use a higher value for RESERVED_FUNCTION_POINTERS or set ALLOW_TABLE_GROWTH.")}ret.push(null)};ret.set=function(i,func){ret[i]=func};ret.get=function(i){return ret[i]};return ret},Module:function(binary){return{}},Instance:function(module,info){var decodeBase64=typeof atob==="function"?atob:function(input){var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2)}if(enc4!==64){output=output+String.fromCharCode(chr3)}}while(i<input.length);return output};function intArrayFromBase64(s){if(typeof ENVIRONMENT_IS_NODE==="boolean"&&ENVIRONMENT_IS_NODE){var buf;try{buf=Buffer.from(s,"base64")}catch(){buf=new Buffer(s,"base64")}return new Uint8Array(buf.buffer,buf.byteOffset,buf.byteLength)}try{var decoded=decodeBase64(s);var bytes=new Uint8Array(decoded.length);for(var i=0;i<decoded.length;++i){bytes[i]=decoded.charCodeAt(i)}return bytes}catch(){throw new Error("Converting base64 string to bytes failed.")}}var atob=decodeBase64;var exports=(

Error: abort(TypeError: Cannot read properties of undefined (reading 'Value')). Build with -s ASSERTIONS=1 for more info.
at process.abort (/tmp/a/Static-DICOMWeb/node_modules/@cornerstonejs/codec-libjpeg-turbo-8bit/dist/libjpegturbojs.js:35:7612)
at process.emit (node:events:527:28)
at emit (node:internal/process/promises:140:20)
at processPromiseRejections (node:internal/process/promises:274:27)
at processTicksAndRejections (node:internal/process/task_queues:97:32)
`

Can you hep me?
Thank you!

Out Of Memory

Hello,

when I try to create a static wado from a study with mkdicomweb I receive this error

FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory

Any idea?

Thank you

[static-wado-creator] build fail

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.

To Create DICOM part 10 from DICOMweb files

Hi Team,

We are using static dicom to convert dicom p10 files to dicomweb and using them in OHIF. We would like to convert the saved annotations from OHIF back to Dicom P10 format. Is there any planned deadline to support "mkdicomwebpart10" feature?

Thanks

New mht extension

Hello,

I am currently using the latest version, but I have noticed that the frames are now being saved with the 'mht' extension.
Is it possible to continue using the previous format without any extension?
Otherwise, in my repository, I would have frames saved with extensions as well as others without.

Thank you.

Unable to install static DICOMweb

I tried to install static DICOMweb but I ran into issue.

I am using macOS 13 with Node 18. I tried with Node 20 and 16 as well. Same issue

error /Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/canvas: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build --update-binary
Arguments: 
Directory: /Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/canvas
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | darwin | arm64
node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.11.0/canvas-v2.11.0-node-v108-darwin-unknown-arm64.tar.gz
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.0/canvas-v2.11.0-node-v108-darwin-unknown-arm64.tar.gz 
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v108 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.0/canvas-v2.11.0-node-v108-darwin-unknown-arm64.tar.gz 
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | arm64
gyp info ok 
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | arm64
gyp info find Python using Python version 3.9.6 found at "/Library/Developer/CommandLineTools/usr/bin/python3"
gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/canvas/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/jaddap2/Library/Caches/node-gyp/18.16.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/jaddap2/Library/Caches/node-gyp/18.16.0',
gyp info spawn args   '-Dnode_gyp_dir=/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/jaddap2/Library/Caches/node-gyp/18.16.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/canvas',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
Package pangocairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangocairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pangocairo' found
gyp: Call to 'pkg-config pangocairo --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/node-gyp/lib/configure.js:284:16)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Darwin 22.5.0
gyp ERR! command "/Users/jaddap2/.nvm/versions/node/v18.16.0/bin/node" "/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--update-binary" "--module=/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/canvas/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108"
gyp ERR! cwd /Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/canvas
gyp ERR! node -v v18.16.0
gyp ERR! node-gyp -v v9.1.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/Users/jaddap2/.nvm/versions/node/v18.16.0/bin/node /Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --update-binary --module=/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1091:16)
node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
node-pre-gyp ERR! System Darwin 22.5.0
node-pre-gyp ERR! command "/Users/jaddap2/.nvm/versions/node/v18.16.0/bin/node" "/Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
node-pre-gyp ERR! cwd /Users/jaddap2/WebstormProjects/Static-DICOMWeb/node_modules/canvas
node-pre-gyp ERR! node -v v18.16.0
node-pre-gyp ERR! node-pre-gyp -v v1.0.9
node-pre-gyp ERR! not ok 


window is not defined

Running the following command

node packages/static-wado-creator/bin/mkdicomweb.js '/Users/alireza/Dropbox/ohif-new-demo-static' -o '/Users/alireza/Dropbox/ohif-new-demo-static-generated'

gives me this error

ReferenceError: window is not defined
    at Object.<anonymous> (/Users/alireza/dev/Static-DICOMWeb/node_modules/config-point/dist/index.umd.js:1:227)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/Users/alireza/dev/Static-DICOMWeb/packages/static-wado-creator/lib/mkdicomwebConfig.js:1:21)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)

Static-wado-creator studyUID folders inconsistencies while using SCP

We have observed a potential inconsistence on folder generation while upload studies through SCP server.

Expected:

  • While using SCP, generated studies folder should have as much studies as source data

Actual:

  • Sometimes the generated folder:

    • are not deterministic (ie. folder name should be the same if we repeat the process)
    • instances of same series are actually turn into different series instead of being grouped on same series folder.
  • This does not happen if we run static-wado-creator directly

Overlay6000 DICOM tags are profile as InlineBinary

when we do mkdicomweb with attached dataset , overlay6000 DICOM tags are profiled as InlineBinary, ideally PixelData should be profile as InlineBinary | BulkDataURI, but here smallest field Row & Column is also profile as inlineBinary.

Reason is Implicit VR, This Testdata is with below Transfer Syntanx
1.2.840.10008.1.2 | Implicit VR Endian

Our code is if VR type is unknown, it will profile as InlineBinary.

Do we know, what is the correct way to profile this Transfer.
output_dicom_with_overlay.dcm.zip

Build Error at yarn build

i am getting this error when trying to build the docker image.

=> [ 6/13] RUN yarn install 34.9s
=> [ 7/13] RUN npm install -g [email protected] 27.0s
=> ERROR [ 8/13] RUN yarn build 7.4s

[ 8/13] RUN yarn build:
0.348 yarn run v1.22.19
0.370 $ lerna run build --stream
1.097 lerna notice cli v7.3.0
1.175 lerna info versioning independent
1.175 lerna info Executing command in 9 packages: "yarn run build"
1.337 @radicalimaging/static-cs-lite: $ echo "No build yet" && exit 0
1.347 @radicalimaging/static-cs-lite: No build yet
1.347 @radicalimaging/static-wado-util: $ echo "No build yet" && exit 0
1.357 @radicalimaging/static-wado-util: No build yet
1.537 @radicalimaging/static-wado-plugins: $ echo "No build yet" && exit 0
1.540 @radicalimaging/static-wado-creator: $ echo "No build yet" && exit 0
1.546 @radicalimaging/static-wado-plugins: No build yet
1.548 @radicalimaging/static-wado-creator: No build yet
1.725 @radicalimaging/s3-deploy: $ yarn copyFiles && npx tsc
1.729 @radicalimaging/static-wado-webserver: $ echo "No build yet" && exit 0
1.732 @radicalimaging/static-wado-scp: $ echo "No build yet" && exit 0
1.739 @radicalimaging/static-wado-webserver: No build yet
1.743 @radicalimaging/static-wado-scp: No build yet
1.893 @radicalimaging/s3-deploy: $ cp -R lib build
7.306 @radicalimaging/s3-deploy: lib/static-site.ts(29,11): error TS6133: 'oac' is declared but its value is never read.
7.368 @radicalimaging/s3-deploy: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
7.368 @radicalimaging/s3-deploy: error Command failed with exit code 2.
7.377 lerna ERR! yarn run build exited 2 in '@radicalimaging/s3-deploy'
7.393 error Command failed with exit code 2.
7.393 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Dockerfile:10

8 | RUN npm install -g [email protected]
9 | # RUN npm install typescript
10 | >>> RUN yarn build
11 | RUN yarn link:exec
12 | RUN mkdir /dicomweb

ERROR: failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 2
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

i see the "oac" instance of cloud front in s3-deploy/lib/static-site.ts is not used anywhere, so i tried to use that variable in console.log() but still facing the issue.

can you guys please help me in this.
Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.