Importing in electron, ts, webpack app comes back as undefined #81
Closed
samlhuillier
started this conversation in
General
Replies: 1 comment 8 replies
-
Looks like this works: Closing discussion :) |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I try to do this in my electron app:
import { LlamaModel, LlamaContext, LlamaChatSession } from "node-llama-cpp";
console.log(LlamaModel);
console.log(LlamaContext);
console.log(LlamaChatSession);
I get back each of them being undefined. Anyone know how to fix?
Beta Was this translation helpful? Give feedback.
All reactions