mason.nvim icon indicating copy to clipboard operation
mason.nvim copied to clipboard

Can't start some servers

Open nexusprime-here opened this issue 6 months ago • 1 comments

I've searched open issues for similar requests

  • [X] Yes

I've manually reviewed logs to find potential errors

  • [X] Yes

I've recently downloaded the latest plugin version of mason.nvim

  • [X] Yes

Problem description

I can use zls normally, but tsserver, html-lsp, css-lsp and others, aren't working. All of these has returned this log:

....termux/files/usr/share/nvim/runtime/lua/vim/lsp/r
pc.lua:802: Spawning language server with cmd: `{ "/d
ata/data/com.termux/files/home/.local/share/nvim/maso
n/bin/typescript-language-server", "--stdio" }` faile
d. The language server is either not installed, missi
ng from PATH, or not executable.

The weird part is: this binarie exist and working when I use on bash. It seems that when the command needs an argument it doesn't work

Detail: I'm using termux

Expected behavior

Lsp works normally

Steps to reproduce

Install nvchad, install tsserver using mason and try use tsserver (don't forget to add tsserver on server list of lspconfig)

Affected packages

tsserver, html-lsp, css-lsp and more

Neovim version (>= 0.7)

NVIM v0.10.1 Build type: Release LuaJIT 2.1.1720049189 Run "nvim -V1 -v" for more info

Operating system/version

Linux localhost 5.4.254-qgki-28575149-abA736BXXS9EXG2 #1 SMP PREEMPT Tue Jul 2 03:35:44 KST 2024 aarch64 Android

Healthcheck

- ERROR No healthcheck found for "mason" plugin.

Screenshots or recordings

No response

nexusprime-here avatar Aug 04 '24 04:08 nexusprime-here