Hello @durs ,
First of all I would like to thank you for creating this package.
Now the issue. I am a junior so I apologize if my question is silly, but I am facing a situation where I would need to make an API call that requires winax from a worker thread in Node and I get the following error that happens when I require winax.
My worker.js code
const { workerData, parentPort } = require("worker_threads")const winax = require("winax");let message = "in the worker"parentPort.postMessage(message)
Error:
UnhandledPromiseRejectionWarning: Error: Module did not self-register.
I don't know if this is actually an issue, but I would appreciate any feedback that you'd be able to offer on my approach.
Hello @durs , First of all I would like to thank you for creating this package.
Now the issue. I am a junior so I apologize if my question is silly, but I am facing a situation where I would need to make an API call that requires winax from a worker thread in Node and I get the following error that happens when I require winax. My worker.js code
const { workerData, parentPort } = require("worker_threads")
const winax = require("winax");
let message = "in the worker"
parentPort.postMessage(message)
Error:
UnhandledPromiseRejectionWarning: Error: Module did not self-register.
I don't know if this is actually an issue, but I would appreciate any feedback that you'd be able to offer on my approach.
Thank you!