Skip to content

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

@ntedgi

Description

@ntedgi

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions