You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into an issue where loading fs-ext in a worker thread gives me Error: Module did not self-register as well as
Emitted 'error' event on Worker instance at:
at Worker.[kOnErrorMessage] (internal/worker.js:232:10)
at Worker.[kOnMessage] (internal/worker.js:242:37)
at MessagePort.<anonymous> (internal/worker.js:163:57)
at MessagePort.emit (events.js:315:20)
at MessagePort.onmessage (internal/worker/io.js:78:8)
at MessagePort.exports.emitMessage (internal/per_context/messageport.js:11:10)
Is it true that this package is not compatible with worker threads? If yes, how can this be fixed?
The text was updated successfully, but these errors were encountered:
Ran into exactly the same issue: Works fine from the primary thread but crashes with "Error: Module did not self-register" in the worker thread. Node v20.9.0, everything is latest. I even force-reset the NPM cache to pull all the latest.
Fordi
added a commit
to Fordi/node-fs-ext
that referenced
this issue
Oct 10, 2024
I am running into an issue where loading
fs-ext
in a worker thread gives meError: Module did not self-register
as well asIs it true that this package is not compatible with worker threads? If yes, how can this be fixed?
The text was updated successfully, but these errors were encountered: