Skip to content
Discussion options

You must be logged in to vote
Admin verified this answer by giladgd Oct 10, 2025

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 verified by Admin Oct 10, 2025
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