Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use the lib in nodejs #132

Open
snigle opened this issue Oct 10, 2021 · 2 comments
Open

Can't use the lib in nodejs #132

snigle opened this issue Oct 10, 2021 · 2 comments

Comments

@snigle
Copy link

snigle commented Oct 10, 2021

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 :)

@jahbolero
Copy link

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

@DOEHOONLEE
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants