node-snap7
node-snap7 copied to clipboard
'Error: Module did not self-register.' with Worker Threads
see : https://github.com/nodejs/node/issues/21481 as @mattolson mentioned
-- any native addons that are loaded in both the parent and worker thread (i.e. loaded more than once in the same process) need to be context aware.
This addon builds on NAN. As long NAN does not support context-awareness this won't happen. Thanks for reporting!
Any news on this?
I am currently working on a NAPI rewrite of this addon to replace NAN. If I got the current functionality working I will have a look into this. NAPI should be capable of context-awareness. But don't expect this in the near future.