coc-elixir icon indicating copy to clipboard operation
coc-elixir copied to clipboard

Elixir LS fails to start. Not really sure why.

Open benbot opened this issue 2 years ago • 4 comments

both elixir and mix are available in my path and I installed through :CocInstall coc-elixir

The LS works when using vscode, but not neovim :(

output of :CocInfo

## versions

vim version: NVIM v0.9.0
node version: v17.8.0
coc.nvim version: 0.0.82-b7375d5f 2023-01-30 05:09:03 +0800
coc.nvim directory: /home/benbot/.vim/plugged/coc.nvim
term: guake
platform: linux

## Log of coc.nvim

2023-04-17T11:17:58.925 INFO (pid:20717) [plugin] - coc.nvim initialized with node: v17.8.0 after 1923
2023-04-17T11:17:58.926 INFO (pid:20717) [services] - LanguageClient elixir state change: stopped => starting
2023-04-17T11:17:58.936 INFO (pid:20717) [language-client-index] - Language server "elixir" started with 20731
2023-04-17T11:17:59.152 INFO (pid:20717) [services] - LanguageClient elixir state change: starting => stopped
2023-04-17T11:17:59.152 INFO (pid:20717) [services] - LanguageClient elixir state change: stopped => starting
2023-04-17T11:17:59.155 ERROR (pid:20717) [language-client-client] - Server elixir initialization failed. jh [Error]: Pending response rejected since connection got disposed
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:51:4592)
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:241:6209)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15575)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:248:3561)
    at t (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15224)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Qe (/home/benbot/.vim/plugged/coc.nvim/build/index.js:25:6504)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230) {
  code: -32097,
  data: undefined
}
2023-04-17T11:17:59.156 INFO (pid:20717) [services] - LanguageClient elixir state change: starting => stopped
2023-04-17T11:17:59.157 ERROR (pid:20717) [server] - unhandledRejection  Promise {
  <rejected> jh [Error]: Pending response rejected since connection got disposed
      at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:51:4592)
      at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:241:6209)
      at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15575)
      at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:248:3561)
      at t (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15224)
      at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
      at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230)
      at Qe (/home/benbot/.vim/plugged/coc.nvim/build/index.js:25:6504)
      at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
      at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230) {
    code: -32097,
    data: undefined
  }
} jh [Error]: Pending response rejected since connection got disposed
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:51:4592)
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:241:6209)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15575)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:248:3561)
    at t (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15224)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Qe (/home/benbot/.vim/plugged/coc.nvim/build/index.js:25:6504)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230) {
  code: -32097,
  data: undefined
}
2023-04-17T11:17:59.160 INFO (pid:20717) [language-client-index] - Language server "elixir" started with 20835
2023-04-17T11:17:59.374 INFO (pid:20717) [services] - LanguageClient elixir state change: stopped => starting
2023-04-17T11:17:59.374 ERROR (pid:20717) [language-client-client] - Server elixir initialization failed. jh [Error]: Pending response rejected since connection got disposed
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:51:4592)
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:241:6209)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15575)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:248:3561)
    at t (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15224)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Qe (/home/benbot/.vim/plugged/coc.nvim/build/index.js:25:6504)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230) {
  code: -32097,
  data: undefined
}
2023-04-17T11:17:59.374 INFO (pid:20717) [services] - LanguageClient elixir state change: starting => stopped
2023-04-17T11:17:59.374 ERROR (pid:20717) [services] - Server elixir failed to start: jh [Error]: Pending response rejected since connection got disposed
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:51:4592)
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:241:6209)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15575)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:248:3561)
    at t (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15224)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Qe (/home/benbot/.vim/plugged/coc.nvim/build/index.js:25:6504)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230) {
  code: -32097,
  data: undefined
}
2023-04-17T11:17:59.378 INFO (pid:20717) [language-client-index] - Language server "elixir" started with 20938
2023-04-17T11:17:59.598 INFO (pid:20717) [services] - LanguageClient elixir state change: stopped => starting
2023-04-17T11:17:59.598 ERROR (pid:20717) [language-client-client] - Server elixir initialization failed. jh [Error]: Pending response rejected since connection got disposed
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:51:4592)
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:241:6209)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15575)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:248:3561)
    at t (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15224)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Qe (/home/benbot/.vim/plugged/coc.nvim/build/index.js:25:6504)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230) {
  code: -32097,
  data: undefined
}
2023-04-17T11:17:59.598 INFO (pid:20717) [services] - LanguageClient elixir state change: starting => stopped
2023-04-17T11:17:59.602 INFO (pid:20717) [language-client-index] - Language server "elixir" started with 21041
2023-04-17T11:17:59.817 ERROR (pid:20717) [language-client-client] - Server elixir initialization failed. jh [Error]: Pending response rejected since connection got disposed
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:51:4592)
    at Object.dispose (/home/benbot/.vim/plugged/coc.nvim/build/index.js:241:6209)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15575)
    at Nd.handleConnectionClosed (/home/benbot/.vim/plugged/coc.nvim/build/index.js:248:3561)
    at t (/home/benbot/.vim/plugged/coc.nvim/build/index.js:244:15224)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Qe (/home/benbot/.vim/plugged/coc.nvim/build/index.js:25:6504)
    at yT.invoke (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at lc.fire (/home/benbot/.vim/plugged/coc.nvim/build/index.js:24:15230) {
  code: -32097,
  data: undefined
}
2023-04-17T11:19:24.315 INFO (pid:20717) [attach] - receive notification: showInfo []
2023-04-17T11:20:35.569 INFO (pid:20717) [attach] - receive notification: showInfo []

benbot avatar Apr 17 '23 15:04 benbot