Hi, I was getting an error (Module did not self-register) when while running this package inside a Worker thread, I have fixed it by changing:
NODE_MODULE(tulind, Init)
to
NODE_MODULE_INIT()
{
Init(exports);
}
on the tulind.cpp file, then rebuilding with node-pre-gyp install --build-from-source
I'm still testing, but it seems to be working fine.
I didn't make a pull request because I don't want to mess up your code with my linters, but It would be nice to have this change on the main repo, in case anybody is having the same issue.
Hi, I was getting an error (Module did not self-register) when while running this package inside a Worker thread, I have fixed it by changing:
to
on the
tulind.cppfile, then rebuilding withnode-pre-gyp install --build-from-sourceI'm still testing, but it seems to be working fine.
I didn't make a pull request because I don't want to mess up your code with my linters, but It would be nice to have this change on the main repo, in case anybody is having the same issue.