Closed cococow123 closed 4 years ago
I went back to an older version of node and no longer get these errors. I would love to get this working with electronjs but it has not been working.
This works fine when using node, but with electron I get this error:
App threw an error during load
Error: A dynamic link library (DLL) initialization routine failed.
\\?\C:\Users\Coco\Documents\~Home\~ Programming\JS\voicemeeter\node_modules\ref\build\Release\binding.node
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at bindings (C:\Users\Coco\Documents\~Home\~ Programming\JS\voicemeeter\node_modules\bindings\bindings.js:76:44)
at Object.<anonymous> (C:\Users\Coco\Documents\~Home\~ Programming\JS\voicemeeter\node_modules\ref\lib\ref.js:5:47)
Node version: 10.17.0 Electron version: 3.0.0
Got it working!
I'm submitting a ... [X] bug report [ ] feature request [ ] question about the decisions made in the repository [X] question about how to use this project
Summary Hi there! I really like this library and got it working in the past days. However, when I tried to get it functioning with electron, I got some node_module_version errors.
I decided to completely reinstall node to try to fix this. When trying to install this module a second time, I get errors with installing ref.
Node.js version: 12.4.0
npm install ref
node index.js
Hope I can fix this, thanks!