Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start some servers #1765

Open
3 tasks done
nexusprime-here opened this issue Aug 4, 2024 · 1 comment
Open
3 tasks done

Can't start some servers #1765

nexusprime-here opened this issue Aug 4, 2024 · 1 comment

Comments

@nexusprime-here
Copy link

I've searched open issues for similar requests

  • Yes

I've manually reviewed logs to find potential errors

  • Yes

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

  • 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

@GooksanGom
Copy link

@nexusprime-here
I've been looking for a solution for the same issue and I think I've found the clue: termux-fix-shebang ~/.local/share/nvim/mason/bin/typescript-language-server

It works for my case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs triage
Development

No branches or pull requests

2 participants