Skip to content

Error: The specified module could not be found. #319

Closed Answered by giladgd
gy9527 asked this question in Q&A
Discussion options

You must be logged in to vote

I don't have enough information to assess what could be the issue, but note that node-llama-cpp must not be bundled (and instead be marked as an external module) in order for it to function properly, since the file structure of it is necessary.

I recommend you to scaffold an Electron project that uses node-llama-cpp using this CLI command and inspect it to find what it does that your current setup doesn't do:

npm create --yes node-llama-cpp@beta

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@giladgd
Comment options

@gy9527
Comment options

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