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
I have downloaded the code of the package and tried to include a native module (keytar) as a dependency.
I have added node_modules with freshly built keytar to the app folder.
However when I call require('./node_modules/keytar/build/Release/keytar.node')
it says A dynamic link library initialization failed.
I have locally exactly the same node version as used in the launchui.
When I try to require it directly from the node it works fine.
Is it something related to the way node.h is used?
The text was updated successfully, but these errors were encountered:
I think that the problem is that launchui builds node as a shared library, and standard native modules are linked against a static node executable. It's a similar problem to using native modules with Electron.
If you compile launchui from sources, then you can try to recompile the native module using the version of node from the deps/node subdirectory.
Thanks for the nice project.
I have downloaded the code of the package and tried to include a native module (keytar) as a dependency.
I have added
node_modules
with freshly built keytar to the app folder.However when I call
require('./node_modules/keytar/build/Release/keytar.node')
it says
A dynamic link library initialization failed
.I have locally exactly the same node version as used in the launchui.
When I try to require it directly from the node it works fine.
Is it something related to the way
node.h
is used?The text was updated successfully, but these errors were encountered: