Skip to content
Discussion options

You must be logged in to vote

It's possible, but the prebuilt binaries need to be unpacked inside the asar archive to work in Electron.
I recommend you to read the Using in Electron guide to learn more, and I also recommend you to scaffold a new Electron project using the node-llama-cpp CLI and use it as the base for your Electron app as it's already preconfigured with everything needed to use node-llama-cpp in Electron (including packing).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by giladgd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants