I'm using vite + react and can't seem to open up a tiff file. I just get an exception with an undefined message. Having pulled some parts from the example for vite + vue and opening a file from the network I wound up with the following.
The above winds up just throwing an exception with an undefined message. Is there something obviously wrong with my set-up or some other steps that I can take to further debug?
Closing, because I've discovered that having the "/" in the file name is what broke this for me. A nicer error message would still be nice though. Thanks for the wasm port!
I'm using vite + react and can't seem to open up a tiff file. I just get an exception with an undefined message. Having pulled some parts from the example for vite + vue and opening a file from the network I wound up with the following.
The above winds up just throwing an exception with an undefined message. Is there something obviously wrong with my set-up or some other steps that I can take to further debug?