Exafunction / codeium.vim

Free, ultrafast Copilot alternative for Vim and Neovim
https://codeium.com
MIT License
4.03k stars 143 forks source link

Codeium auth issue #410

Open componhead opened 2 months ago

componhead commented 2 months ago

Hi. I've this error in nvim, when trying to authenticate (with :Codeium Auth) pasting the token:

Error detected while processing function codeium#server#Start[58]..<SNR>77_ActuallyStart:
line   19:
E903: Process failed to start: Unknown system error -8: "/Users/emiliano/.local/share/.codeium/bin/--40-lenght-hash--/language_server_windows_x64.exe"`

I'm in a macos environment and I tried several times to delete /Users/emiliano/.local/share/.codeium/ folder.

Plugin cfg:

return {
  'Exafunction/codeium.vim',
  event = 'InsertEnter',
  -- stylua: ignore
  config = function()
    vim.keymap.set("i", "<End>", function() return vim.fn["codeium#Accept"]() end, { expr = true })
    vim.keymap.set("i", "<PageUp>", function() return vim.fn["codeium#CycleCompletions"](1) end, { expr = true })
    vim.keymap.set("i", "<PageDown>", function() return vim.fn["codeium#CycleCompletions"](-1) end, { expr = true })
    vim.keymap.set("i", "<Home>", function() return vim.fn["codeium#Clear"]() end, { expr = true })
  end,
}

Of a kickstart "distro"

Have you some hint? Thank you.

componhead commented 2 months ago

Now error is changed:

E474: Unidentified byte: Now using Node v20.12.2 (npm 10.5.0) ~/.local/share/nvm/v20.12.2/bin/node
{"api_key":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"xxxxxxxxx"}
E474: Failed to parse Now using Node v20.12.2 (npm 10.5.0) ~/.local/share/nvm/v20.12.2/bin/node
{"api_key":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"xxxxxxxxx"}

P.S. I have a fish shell and my .zshenv is empty.