https://bugs.kde.org/show_bug.cgi?id=509537
Bug ID: 509537
Summary: Bash LSP server fails to start (Flatpak)
Classification: Applications
Product: kate
Version First 25.08.1
Reported In:
Platform: Pop!_OS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
The LSP server for Bash fails to start with default settings, with
bash-language-server installed through npm managed by nvm.
STEPS TO REPRODUCE
1. Install nvm
2. Install npm
3. npm i -g bash-language-server
4. Start Kate with default LSP settings, open a .sh file
OBSERVED RESULT
bash-language-server not found
(German language output):
[LSP-Client Warnung] Die ausführbare Server-Programmdatei wurde nicht gefunden:
bash-language-server
Bitte überprüfen Sie den Pfad zur Programmdatei
Siehe auch https://github.com/bash-lsp/bash-language-server für Informationen
zur Installation und Details
EXPECTED RESULT
Bash LSP server starts
SOFTWARE/OS VERSIONS
Linux: Pop!_OS 22.04 LTS x86_64
Kate version 25.08.1 (Flatpak)
Node version v24.8.0 (via nvm)
ADDITIONAL INFORMATION
* bash-language-server is available in system shell
* LSP for Python works in Kate on same system
The following tweaks did not work:
* Add Node.js binary directory (~/.nvm/versions/node/v24.8.0/bin/) to PATH
through Kate settings or through Flatseal (same error)
* snap install bash-language-server --classic instead of install via nvm
(error: server shut down unexpectedly, immediately after start)
--
You are receiving this mail because:
You are watching all bug changes.