Client jsonls quit with exit code 1 and signal 0. #1588
Unanswered
shenhai-ran
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't know if this is a problem should be asked here, or other lsp plugins. But if you could help me a bit. Thanks
The Lsp log says:
[ERROR][2023-12-30 02:03:24] .../vim/lsp/rpc.lua:31 "rpc" "/home/shenhai/.local/share/nvim/mason/bin/vscode-json-language-server" "stderr" "/home/shenhai/.local/share/nvim/mason/packages/json-lsp/node_modules/vscode-langservers-extracted/node_modules/vscode-languageserver/lib/node/main.js:237\n let counter = counters.get(message) ?? 0;\n ^\n\nSyntaxError: Unexpected token '?'\n at wrapSafe (internal/modules/cjs/loader.js:915:16)\n at Module._compile (internal/modules/cjs/loader.js:963:27)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)\n at Module.load (internal/modules/cjs/loader.js:863:32)\n at Function.Module._load (internal/modules/cjs/loader.js:708:14)\n at Module.require (internal/modules/cjs/loader.js:887:19)\n at require (internal/modules/cjs/helpers.js:74:18)\n at Object.<anonymous> (/home/shenhai/.local/share/nvim/mason/packages/json-lsp/node_modules/vscode-langservers-extracted/node_modules/vscode-languageserver/node.js:7:18)\n at Module._compile (internal/modules/cjs/loader.js:999:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)\n"
Beta Was this translation helpful? Give feedback.
All reactions