Open marvinhagemeister opened 7 months ago
I don't expect this to work. FFI/native Node extensions can't be included in the the compiled binary.
As a data point I ran into similar with electron-builder and now with deno. For elextron-builder I used asar.upacked
which essentially put a node_modules and native within. Seems like deno should or maybe could do the same?
I don't expect this to work. FFI/native Node extensions can't be included in the the compiled binary.
Why not? These work with non-compiled source runtime. Anyway, in case these cannot be easily included, maybe the compiler could add these native modules as separate files to load them when running resulting binary? That would be much better than nothing.
Discussed in https://github.com/denoland/deno/discussions/23255
Search keywords:
TypeError: LoadLibraryExW failed