stimulus-lsp icon indicating copy to clipboard operation
stimulus-lsp copied to clipboard

Neovim SERVER_REQUEST_HANDLER_ERROR

Open yoomaxxx opened this issue 7 months ago • 2 comments

Image

yoomaxxx avatar Jul 08 '25 12:07 yoomaxxx

Hey @maximyurevich, can you confirm and make sure you are on the lastest version?

I think we fixed this in #290.

marcoroth avatar Jul 08 '25 14:07 marcoroth

Hey @maximyurevich, can you confirm and make sure you are on the lastest version?

I think we fixed this in #290.

I have the latest version 1.0.4 installed

cat ~/.local/state/nvim/lsp.log:

[START][2025-07-08 20:48:08] LSP logging initiated
[ERROR][2025-07-08 20:48:08] ...p/_transport.lua:36     "rpc"   "ruby-lsp"      "stderr"        "Ruby LSP> Skipping composed bundle setup since /home/maksim/ny_new_app/.ruby-lsp/Gemfile.lock already exists and is up to date\n"
[WARN][2025-07-08 20:48:08] ...m/lsp/client.lua:874     "The language server emmet_ls triggers a registerCapability handler for workspace/didChangeConfiguration despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2025-07-08 20:48:08] ...m/lsp/client.lua:874     "The language server emmet_ls triggers a registerCapability handler for workspace/didChangeWorkspaceFolders despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2025-07-08 20:48:08] ...m/lsp/client.lua:874     "The language server turbo_ls triggers a registerCapability handler for workspace/didChangeConfiguration despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2025-07-08 20:48:08] ...p/_transport.lua:36     "rpc"   "ruby-lsp"      "stderr"        "Ruby LSP> Running bundle install for the composed bundle. This may take a while...\nRuby LSP> Command: (/home/maksim/.local/share/mise/installs/ruby/3.4.4/bin/ruby /home/maksim/.local/share/mise/installs/ruby/3.4.4/bin/bundle _2.6.7_ check || /home/maksim/.local/share/mise/installs/ruby/3.4.4/bin/ruby /home/maksim/.local/share/mise/installs/ruby/3.4.4/bin/bundle _2.6.7_ install) 1>&2\n"
[WARN][2025-07-08 20:48:08] ...m/lsp/client.lua:874     "The language server turbo_ls triggers a registerCapability handler for workspace/didChangeWorkspaceFolders despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2025-07-08 20:48:08] ...m/lsp/client.lua:874     "The language server herb_ls triggers a registerCapability handler for workspace/didChangeConfiguration despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2025-07-08 20:48:08] ...m/lsp/client.lua:874     "The language server herb_ls triggers a registerCapability handler for workspace/didChangeWorkspaceFolders despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2025-07-08 20:48:08] ...p/_transport.lua:36     "rpc"   "ruby-lsp"      "stderr"        "The Gemfile's dependencies are satisfied\n"
[WARN][2025-07-08 20:48:08] ...m/lsp/client.lua:874     "The language server stimulus_ls triggers a registerCapability handler for workspace/didChangeConfiguration despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[WARN][2025-07-08 20:48:08] ...m/lsp/client.lua:874     "The language server stimulus_ls triggers a registerCapability handler for workspace/didChangeWorkspaceFolders despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[ERROR][2025-07-08 20:48:09] ...p/_transport.lua:36     "rpc"   "ruby-lsp"      "stderr"        "[RuboCop] Activating RuboCop LSP addon 1.77.0.\n"
[ERROR][2025-07-08 20:48:09] ...p/_transport.lua:36     "rpc"   "ruby-lsp"      "stderr"        "[RuboCop] Initialized RuboCop LSP addon 1.77.0.\n"
[ERROR][2025-07-08 20:48:29] ...m/lsp/client.lua:1050   "LSP[stimulus_ls]"      "on_error"      { code = "SERVER_REQUEST_HANDLER_ERROR", err = "/usr/local/share/nvim/runtime/lua/vim/uri.lua:104: URI must contain a scheme: /home/maksim/ny_new_app/app/javascript/controllers/foo_controller.js" }
[ERROR][2025-07-08 20:48:29] ...p/_transport.lua:36     "rpc"   "stimulus-language-server"      "stderr"        "/home/maksim/.local/share/nvim/mason/packages/stimulus-language-server/node_modules/stimulus-language-server/node_modules/vscode-jsonrpc/lib/common/connection.js:565\n                        responsePromise.reject(new messages_1.ResponseError(error.code, error.message, error.data));\n                                               ^\n\nResponseError: /usr/local/share/nvim/runtime/lua/vim/uri.lua:104: URI must contain a scheme: /home/maksim/ny_new_app/app/javascript/controllers/foo_controller.js\n    at handleResponse (/home/maksim/.local/share/nvim/mason/packages/stimulus-language-server/node_modules/stimulus-language-server/node_modules/vscode-jsonrpc/lib/common/connection.js:565:48)\n    at handleMessage (/home/maksim/.local/share/nvim/mason/packages/stimulus-language-server/node_modules/stimulus-language-server/node_modules/vscode-jsonrpc/lib/common/connection.js:345:13)\n    at processMessageQueue (/home/maksim/.local/share/nvim/mason/packages/stimulus-language-server/node_modules/stimulus-language-server/node_modules/vscode-jsonrpc/lib/common/connection.js:362:17)\n    at Immediate.<anonymous> (/home/maksim/.local/share/nvim/mason/packages/stimulus-language-server/node_modules/stimulus-language-server/node_modules/vscode-jsonrpc/lib/common/connection.js:334:13)\n    at process.processImmediate (node:internal/timers:485:21) {\n  code: -32603,\n  data: undefined\n}\n\nNode.js v22.17.0\n"

yoomaxxx avatar Jul 08 '25 18:07 yoomaxxx