lumeland / imagemagick-deno

Deno port of the WASM library for ImageMagick
https://deno.land/x/imagemagick_deno
42 stars 3 forks source link

Cannot open project with this package #10

Open adamgasiorek opened 11 months ago

adamgasiorek commented 11 months ago

Hello @oscarotero WHen i am trying to open project which is using your package i have following error: Zrzut ekranu 2023-09-25 o 17 08 04

I tried to remove cache and still error exists. I also tried using initializeImageMagick with magick_native.wasm in your repo but it also doesnt work.

oscarotero commented 11 months ago

This is a Deno bug (https://github.com/denoland/deno/issues/19696). I should add a try/catch to avoid this.

Cleaning the cache always worked for me. For example:

await caches.delete("magick_native");

Then, try again and should work.