-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: A dynamic link library (DLL) initialization routine failed #167
Comments
I tried this out locally and getting the same error. And I have tried this with a stripped-down barebones native .node module, still get this error or |
Thanks for the test I have tried caxa now. My "Hello World" binary with lmdb runs error free on windows and linux. |
That's good to hear that you had some success. I think I have heard of people using nexe too (I haven't tried it). I'd still be interested in figuring out the issue with pkg (and/or letting them know). |
As it turns out, the issue was due the |
Seems like electron loads fine with this flag removed. |
Hi,
I want to use pkg to create a windows binary of my app including lmdb.
I'm a little bit lost and don't know how to fix the error.
Is this a config thing ? windows ? node ? pkg ? lmdb ?
Node 14.19.1 is installed and used by pkg.
I built the native node files using the commands in lmdb package.json.
index.js
const lmdb = require('lmdb')
package.json (with pkg config)
The text was updated successfully, but these errors were encountered: