This repository has been archived by the owner on May 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
how to include native module #15
Comments
How are you requiring the module? You shouldn't have to do |
I am assuming that you are asking about from typescript
which then gets converted to JS as
Should I be doing |
cc: @code-asher |
|
I just realized that I have forgotten to mention one thing. The error in the original question are post deployment and the paths in stack of the error are from the system on which I created executable. I hope this helps? |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
I am trying to use
nbin
for my project. I am following this example. However I am not able to include native module.Here is my code:
I am running above code on output generated by
tsc
.bin.writeFiles(path.join(dirName, "..", "node_modules", "**"));
, then I get error:bin.writeModule(path.join(dirName, "..", "node_modules", "libvirt"));
,I get the error:
The text was updated successfully, but these errors were encountered: