node-snap7 icon indicating copy to clipboard operation
node-snap7 copied to clipboard

'Error: Module did not self-register.' with Worker Threads

Open shockingboring opened this issue 5 years ago • 3 comments

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.

shockingboring avatar Nov 09 '18 10:11 shockingboring

This addon builds on NAN. As long NAN does not support context-awareness this won't happen. Thanks for reporting!

mathiask88 avatar Nov 12 '18 20:11 mathiask88

Any news on this?

flacohenao avatar Apr 28 '20 03:04 flacohenao

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.

mathiask88 avatar May 12 '20 17:05 mathiask88