Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Instructions for use with Electron #120

Open
bishwenduk029 opened this issue Oct 15, 2023 · 0 comments
Open

Instructions for use with Electron #120

bishwenduk029 opened this issue Oct 15, 2023 · 0 comments

Comments

@bishwenduk029
Copy link

I was using electron with vite-typescript build system, but on main process of electron keep getting below error:

✔ [plugin-vite] Compiling main process code [0.3s]
[commonjs--resolver] Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
file: /Users/kundb/projects/oscar/node_modules/@llama-node/llama-cpp/index.js:1:0
1: ����
       ���__TEX__text...
   ^
2: �}
    �
     __stub_helper__TEXT$�
                          P
3: $�
     �__gcc_except_tab__TEXTt�
✔ [plugin-vite] Launching dev servers for renderer process code [0.5s]
✔ [plugin-vite] Compiling main process code [0.3s]

Do I need to use any different vite plugin to load llama-node?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant