lumeland / imagemagick-deno

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

Cannot open project with this package #10

Open adamgasiorek opened 1 year ago

adamgasiorek commented 1 year 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 1 year 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.