KnicKnic / WASM-ImageMagick

Webassembly compilation of https://github.com/ImageMagick/ImageMagick & samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't use the lib in nodejs

snigle opened this issue · comments

Hello, I'm trying to run my code on nodejs to test in a terminal but I got this error :
ReferenceError: Worker is not defined

Is it possible to use the package web-worker ? Will try it on a fork.
https://github.com/developit/web-worker

https://github.com/KnicKnic/WASM-ImageMagick/blob/master/src/magickApi.ts#L190-L193

Thanks :)

Currently facing the same issue on Node.js, is there any workaround for this?

wasm-imageMagick's example codes on npm are still not working on node environment. Anybody solved this issue yet?