Closed boojum closed 1 year ago
Hello! This is an upstream issue with the package https://github.com/cucumber/language-server/issues/79. There's an open PR that fixes this that hasn't been attended to, unfortunately it looks like the project is somewhat unmaintained.
1.2.0
seems to be the last functional version, you can install it with :MasonInstall cucumber-language-server@1.2.0
. I'll also change this to be the default version in the registry (https://github.com/mason-org/mason-registry/pull/2058).
Problem description
The
cucumber_language_server
installs alright but it crashes upon load. It complains about not being able to find files from its own installation, specificallyversion.cjs
.Why do you think this is an issue with mason-lspconfig.nvim?
Yes, as the language server is installed but has problems with accessing required files.
Neovim version (>= 0.7)
NVIM v0.10.0-dev Build type: RelWithDebInfo LuaJIT 2.1.0-beta3
Operating system/version
Linux coyote 6.2.0-24-generic #24-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 16 12:03:50 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
I've manually reviewed the Nvim LPS client log (
:LspLog
) to find potential errorsI've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig
Affected language servers
cucumber_language_server
Steps to reproduce
cucumber_language_server
viamason
.*.feature
.:LspLog
and notice the server crash.Actual behavior
cucumber_language_server
crashes on load because it can't find the required files, in this case itsversion.cjs
.Expected behavior
cucumber_language_server
loads correctly.LspInfo
LspLog
Healthcheck
Screenshots or recordings
No response