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
Require @julusian/jpeg-turbo in the worker thread file, throwing error:
Module did not self-register: '/Users/***/work/stf-provider/node_modules/@julusian/jpeg-turbo/build/Release/jpegturbo.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at bindings (/Users/gaofeng/work/stf-provider/node_modules/bindings/bindings.js:112:48)
at Object. (/Users/gaofeng/work/stf-provider/node_modules/@julusian/jpeg-turbo/index.js:1:34)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/Users/gaofeng/work/stf-provider/lib/units/device/plugins/vnc/index.js:8:12)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
The text was updated successfully, but these errors were encountered:
I'm going to need some more information to be able to help here.
What version of node are you using?
What version of the library are you using? prebuilt binary or built from source?
Does this only happen for you when in a worker_thread, and not in the main thread?
Require @julusian/jpeg-turbo in the worker thread file, throwing error:
Module did not self-register: '/Users/***/work/stf-provider/node_modules/@julusian/jpeg-turbo/build/Release/jpegturbo.node'.
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at bindings (/Users/gaofeng/work/stf-provider/node_modules/bindings/bindings.js:112:48)
at Object. (/Users/gaofeng/work/stf-provider/node_modules/@julusian/jpeg-turbo/index.js:1:34)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/Users/gaofeng/work/stf-provider/lib/units/device/plugins/vnc/index.js:8:12)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
The text was updated successfully, but these errors were encountered: