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

client quit with exit code 1 and signal 0 #559

Closed
2 tasks done
CSWLeTianPai opened this issue Mar 10, 2023 · 9 comments
Closed
2 tasks done

client quit with exit code 1 and signal 0 #559

CSWLeTianPai opened this issue Mar 10, 2023 · 9 comments
Labels
lsp LSP related issues usage User-specific issues

Comments

@CSWLeTianPai
Copy link

Version confirmation

  • Confirm

Following prerequisites

  • Confirm

Neovim version

NVIM v0.8.2

Operating system/version

Linux

Terminal name/version

alacritty

$TERM environment variable

xterm-256-color

Branch info

main (Default/Latest)

Fetch Preferences

SSH (use_ssh = true)

How to reproduce the issue

不停的弹出 奇怪了

Expected behavior

求求大大解释下

Actual behavior

No response

Additional information

No response

@CSWLeTianPai CSWLeTianPai added the bug Something isn't working label Mar 10, 2023
@CSWLeTianPai
Copy link
Author

ERR 2023-03-10T23:11:23.340 nvim.47108.0 decor_provider_invoke:38: error in provider treesitter/highlighter:line: Error executing lua: /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:219: query: invalid node type at position 2765 for language vim
stack traceback:
[C]: in function '_ts_parse_query'
/usr/share/nvim/runtime/lua/vim/treesitter/query.lua:219: in function 'get_query'
/usr/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:36: in function 'new'
/usr/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:169: in function 'get_query'
/usr/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:191: in function 'fn'
/usr/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:210: in function 'for_each_tree'
/usr/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:214: in function 'for_each_tree'
/usr/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:177: in function 'on_line_impl'
/usr/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:249: in function </usr/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:243>
日志显示是这样 我是小白。。

@CSWLeTianPai
Copy link
Author

[START][2023-03-10 22:59:59] LSP logging initiated
[ERROR][2023-03-10 22:59:59] .../vim/lsp/rpc.lua:733 "rpc" "node" "stderr" "/home/csw/.local/share/nvim/site/lazy/copilot.lua/copilot/dist/agent.js:8\n

@Jint-lzxy
Copy link
Collaborator

They are two different issues. For query: invalid node type at position x for language x please refer to #393.

[ERROR][2023-03-10 22:59:59] .../vim/lsp/rpc.lua:733 "rpc" "node" "stderr"

Looks like you haven't registered copilot correctly. If u are not using copilot, you may disable it by commenting out the following lines:

completion["zbirenbaum/copilot.lua"] = {
lazy = true,
cmd = "Copilot",
event = "InsertEnter",
config = require("completion.copilot"),
dependencies = {
{
"zbirenbaum/copilot-cmp",
config = require("completion.copilot-cmp"),
},
},
}

{ name = "copilot" },

require("copilot_cmp.comparators").prioritize,
require("copilot_cmp.comparators").score,

@Jint-lzxy Jint-lzxy added lsp LSP related issues usage User-specific issues and removed bug Something isn't working labels Mar 10, 2023
@ayamir ayamir changed the title 为什么一直提醒我client quit with exit code 1 and signal 0 client quit with exit code 1 and signal 0 Mar 11, 2023
@ayamir
Copy link
Owner

ayamir commented Mar 20, 2023

Closed due to lacking response, feel free to reopen it if problem still exists.

@ayamir ayamir closed this as completed Mar 20, 2023
@listentodella
Copy link

image

I met this issue too. I am a new nvimer, the number of "client X" will always increase. The only way for me to solve this issuse is to disable the nvim.notify. But I don't think it right way.

@ayamir
Copy link
Owner

ayamir commented May 30, 2023

check LspInfo and put screenshot here.

Also, provided your ~/.local/state/nvim/lsp.log here. Of course, if it is to long to show, remove it first and reopen nvim to see this phenomenon then paste the content of ~/.local/state/nvim/lsp.log.

@listentodella
Copy link

image

I use it in WSL2.

lsp.log

@listentodella
Copy link

image
I followed the log and run sudo apt install python3.10-venv, then reopen nvim, the mason can install packages correctly.

Then the error never appears.

@lzyuz
Copy link

lzyuz commented Jul 1, 2023

try update nodejs > 16, I update to V19.9.0, then everything is fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lsp LSP related issues usage User-specific issues
Projects
None yet
Development

No branches or pull requests

5 participants