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

[coc.nvim] Connection to server got closed. Server will not be restarted. #349

Open
MattyMay opened this issue Aug 30, 2024 · 1 comment

Comments

@MattyMay
Copy link

Hi. I'm struggling to get this extension working. When opening a vue file in nvim, I get the above error.

coc-tsserver seems to be working fine. coc-volar is v0.35.12

:CocInfo shows that the client keeps trying to restart:

## versions

vim version: NVIM v0.10.1
node version: v20.16.0
coc.nvim version: 0.0.82-98fa66a 2024-08-13 09:48:22 +0800
coc.nvim directory: /home/username/.vim/bundle/coc.nvim
term: tmux
platform: linux

## Log of coc.nvim

2024-08-30T11:28:46.676 INFO (pid:13920) [extension:coc-git] - Looking for git in: git
2024-08-30T11:28:46.775 INFO (pid:13920) [plugin] - coc.nvim initialized with node: v20.16.0 after 1383
2024-08-30T11:28:46.776 INFO (pid:13920) [services] - LanguageClient ESLint state change: stopped => starting
2024-08-30T11:28:46.795 INFO (pid:13920) [services] - service tsserver started
2024-08-30T11:28:46.802 INFO (pid:13920) [language-client-index] - Language server "eslint" started with 13947
2024-08-30T11:28:46.829 INFO (pid:13920) [services] - LanguageClient Vue state change: stopped => starting
2024-08-30T11:28:46.832 INFO (pid:13920) [language-client-index] - Language server "vue" started with 13957
2024-08-30T11:28:46.866 INFO (pid:13920) [services] - LanguageClient ESLint state change: starting => running
2024-08-30T11:28:46.869 INFO (pid:13920) [services] - service eslint started
2024-08-30T11:28:47.118 INFO (pid:13920) [services] - LanguageClient Vue state change: starting => running
2024-08-30T11:28:47.121 INFO (pid:13920) [services] - service vue started
2024-08-30T11:28:47.136 INFO (pid:13920) [services] - LanguageClient Vue state change: running => stopped
2024-08-30T11:28:47.136 INFO (pid:13920) [services] - LanguageClient Vue state change: stopped => starting
2024-08-30T11:28:47.139 INFO (pid:13920) [language-client-index] - Language server "vue" started with 14006
2024-08-30T11:28:47.427 INFO (pid:13920) [services] - LanguageClient Vue state change: starting => running
2024-08-30T11:28:47.440 INFO (pid:13920) [services] - LanguageClient Vue state change: running => stopped
2024-08-30T11:28:47.440 INFO (pid:13920) [services] - LanguageClient Vue state change: stopped => starting
2024-08-30T11:28:47.443 INFO (pid:13920) [language-client-index] - Language server "vue" started with 14018
2024-08-30T11:28:47.636 INFO (pid:13920) [attach] - receive notification: highlight []
2024-08-30T11:28:47.761 INFO (pid:13920) [services] - LanguageClient Vue state change: starting => running
2024-08-30T11:28:47.773 INFO (pid:13920) [services] - LanguageClient Vue state change: running => stopped
2024-08-30T11:28:47.773 INFO (pid:13920) [services] - LanguageClient Vue state change: stopped => starting
2024-08-30T11:28:47.776 INFO (pid:13920) [language-client-index] - Language server "vue" started with 14025
2024-08-30T11:28:48.079 INFO (pid:13920) [services] - LanguageClient Vue state change: starting => running
2024-08-30T11:28:48.096 INFO (pid:13920) [services] - LanguageClient Vue state change: running => stopped

Any advice?

@logotip4ik
Copy link

it is fixed with v0.36.0

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