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

codeium启动不了怎么解决? #455

Open
PythonYc opened this issue Sep 26, 2024 · 2 comments
Open

codeium启动不了怎么解决? #455

PythonYc opened this issue Sep 26, 2024 · 2 comments

Comments

@PythonYc
Copy link

Error detected while processing function codeium#server#Start[75]..97_ActuallyStart:
line 28:
E903: Process failed to start: unknown error: "C:\Users\sholto/.codeium/bin/071907d082576067b0c7a5f2f7659958865d751e/language_server_windows_x64.exe"

@Drew-Daniels
Copy link

Drew-Daniels commented Oct 18, 2024

Same issue here:

require("lazy").setup({
  {
    "Exafunction/codeium.vim",
    event = "BufEnter",
  },
})
  "codeium.vim": { "branch": "main", "commit": "8c01979323b2b480c8bf160d3ff85bd1668baa49" },
❯ uname -a
Darwin KIPU-DDANIELS.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:35:10 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6031 arm64

❯ nvim --version
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1727870382
Run "nvim -V1 -v" for more info

I have tried uninstalling and reinstalling codeium with lazy.nvim and run rm -rf ~/.codeium, but neither fixed the issue.

@Drew-Daniels
Copy link

In case it helps anyone else, after running :h codeium, I saw that there are two options you can provide as global variables to configure codeium. After setting these in my neovim config, I no longer saw this error message appear.

vim.cmd([[
  let g:codeium_os = "Darwin"
  let g:codeium_arch = "arm"
]])

I thought the error was weird because I'm using MacOS, and so I should be using a Codeium LS for Windows, but I guess the check that Codeium is doing to determine the host OS is failing for some reason.

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

2 participants