cornerstone3D icon indicating copy to clipboard operation
cornerstone3D copied to clipboard

WADO error while running examples on Create-React-App environment

Open JonathanGilyadov opened this issue 2 years ago • 0 comments

Hey, I was thrilled to hear about cornerstone 3d arriving, and straight dived into the examples.

Issue: my issue happens once I am trying to reproduce one of the more advanced examples(in my repo I tried the example "crossHairs", but tried "volume basic", which resulted in the same error).

First of all, I'm getting a whole lot of warnings: Screen Shot 2022-10-05 at 18 22 09

if I ignore them, I am running into this error: Screen Shot 2022-10-05 at 18 22 48

I used the initDemo functions from the tutorial, but even if I copy-paste the line cornerstoneWADOImageLoader.external.cornerstone = cornerstone; to the top of the file, it still does not work.

for cross-origin isolation, I used a custom proxy which seems to work well.

How to reproduce: clone my repo: https://github.com/JonathanGilyadov/3d

and run: npm install npm start

JonathanGilyadov avatar Oct 05 '22 15:10 JonathanGilyadov