rsmbl / Resemble.js

Image analysis and comparison

Home Page:http://rsmbl.github.io/Resemble.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Module did not self-register.` when using workers

Georgegriff opened this issue · comments

I'm using this module via codeceptjs/codeceptjs-resemblehelper#57

When i don't run my code in web workers everything works fine, when i do i get the following error: Module did not self-register

From searching this seems to be a common issue: nodejs/node#21783 (comment)

I'm hoping that someone might be able to help

Hi @Georgegriff,

I have the same issue. This is due to the node-canvas dependency. Specifically the issue mentioned in this issue on their repo.

Have you, or has anyone found any workarounds? This is a big blocker for me