Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant