Load error on Windows 10
Closed this issue · 2 comments
rytrose commented
Windows 10, Node v6.11.2, Electron v1.7.5
App threw an error during load
Error: A dynamic link library (DLL) initialization routine failed.
\\?\C:\Users\rytro\ORG\app\node_modules\buffertools\build\Release\buffertools.node
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
at Object.Module._extensions..node (module.js:598:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\rytro\ORG\app\node_modules\buffertools\buffertools.js:24:20)
at Object.<anonymous> (C:\Users\rytro\ORG\app\node_modules\buffertools\buffertools.js:123:3)
I've tried most methods of building as I can find (with electron-rebuild successfully rebuilding), and I'm nearly positive my build tools are correct (I used windows-build-tools and my PATH seems alright) and can't seem to find why buffertools.node keeps crashing on the require.
bnoordhuis commented
Does another native module like heapdump work?
rytrose commented
I'm not sure why, but when I thought to use node-gyp directly to build to target my Electron version, it finally worked. I thought electron-rebuild was supposed to handle that, but it's working now. Sorry for the red herring!