Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-bunyan-syslog Module not context aware fail’s loading when using worker thread #63

Open
ntedgi opened this issue Jan 1, 2022 · 0 comments

Comments

@ntedgi
Copy link

ntedgi commented Jan 1, 2022

When trying to load module with worker thread to a parent and a child getting an error

'Error: Module did not self-register.'


Unhandled asynchronous exception: Error: Module did not self-register: '/usr/local/platform-js/node_modules/bunyan-syslog/build/Release/syslog.node'.
     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18)
     at Module.load (internal/modules/cjs/loader.js:928:32)
     at Function.Module._load (internal/modules/cjs/loader.js:769:14)
     at Module.require (internal/modules/cjs/loader.js:952:19)
     at require (internal/modules/cjs/helpers.js:88:18)
     at Object.<anonymous> (/usr/local/platform-js/node_modules/bunyan-syslog/lib/sys.js:10:15)
     at Module._compile (internal/modules/cjs/loader.js:1063:30)
     at Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
     at Object.require.extensions.<computed> [as .js] (/usr/local/platform-js/node_modules/ts-node/src/index.ts:851:44)
     at Module.load (internal/modules/cjs/loader.js:928:32)
@ntedgi ntedgi changed the title Module not context aware fail’s loading using worker thread node-bunyan-syslog Module not context aware fail’s loading when using worker thread Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant