Closed Nemanja02 closed 3 years ago
Don't sure if it's your case but native modules (.node) can't work if are placed into .asar
It worked few months ago. I have reinstalled my windows and now it throws error that module did not self register. My guess is that I am using wrong node or npm version, but I am not sure.
Then I would recommend you check if all your binaries (Electron and WebChimera.js) are 64 bit or 32 bit.
Im currently using "WebChimera.js_v0.3.1_electron_v11.1.0_VLC_v3.0.11_x64_win" from this site: https://github.com/RSATom/WebChimera.js/releases on electron 11 and everything working fine. Check that filesize WebChimera.js.node is 437KB
@Nemanja02 please confirm you still have issue with the latest WebChimera.js version
I received this error when my electron version did not match my precompiled binaries. You might have installed electron 12 when you reinstalled Windows
closed due to no answer from author
Uncaught Error: Module did not self-register: '\\?\D:\testapp\update\node_modules\webchimera.js\WebChimera.js.node'. at process.func [as dlopen] (electron/js2c/asar_bundle.js:5) at Object.Module._extensions..node (internal/modules/cjs/loader.js:1138) at Object.func [as .node] (electron/js2c/asar_bundle.js:5) at Module.load (internal/modules/cjs/loader.js:935) at Module._load (internal/modules/cjs/loader.js:776) at Function.f._load (electron/js2c/asar_bundle.js:5) at Function.o._load (electron/js2c/renderer_init.js:33) at Module.require (internal/modules/cjs/loader.js:959) at require (internal/modules/cjs/helpers.js:88) at Object.<anonymous> (D:\testapp\update\node_modules\webchimera.js\index.js:1)
Electron version: 11.1.0 VLC version: 3.0.11