-
-
Notifications
You must be signed in to change notification settings - Fork 322
Closed
Labels
Description
I've searched open issues for similar requests
Yes
I've recently downloaded the latest plugin version of mason.nvim
- Yes
Problem description
- When I use
:MasonInstall lua-language-server, I get:Could not find which release file to download. Most likely the current operating system or architecture is not supported. (Linux_x64).. Possibly related to Package does not run on NixOS #428? Something different altogether? - Pretty sure there is a valid release for this.
Expected behavior
I'd expect the package to be successfully installed.
Affected packages
lua-language-server
Mason output
Could not find which release file to download.
Most likely the current operating system or architecture is not supported. (Linux_x64).
### Installation log
```Text
[INFO Wed Feb 15 12:36:15 2023] ...ck/paks/opt/mason.nvim/lua/mason-core/installer/init.lua:120: Executing installer for Package(name=lua-language-server)
[DEBUG Wed Feb 15 12:36:15 2023] ...nvim/site/pack/paks/opt/mason.nvim/lua/mason-core/fs.lua:71: fs: mkdirp /home/foxy/.local/share/nvim/mason/.packages/lua-language-server
[DEBUG Wed Feb 15 12:36:15 2023] ...m/site/pack/paks/opt/mason.nvim/lua/mason-core/fetch.lua:34: Fetching URL "https://api.mason-registry.dev/api/github/LuaLS/lua-language-server/releases/latest"
[DEBUG Wed Feb 15 12:36:15 2023] ...site/pack/paks/opt/mason.nvim/lua/mason-core/process.lua:116: Spawning cmd="curl", spawn_opts={
args = { "-H", "Accept: application/vnd.mason-registry.v1+json; q=1.0, application/json; q=0.8", "-H", "User-Agent: mason.nvim (+https://github.com/williamboman/mason.nvim)", "-fsSL", "-X", "GET", "https://api.mason-registry.dev/api/github/LuaLS/lua-language-server/releases/latest" }
}
[DEBUG Wed Feb 15 12:36:15 2023] ...site/pack/paks/opt/mason.nvim/lua/mason-core/process.lua:162: Spawned with pid 9010
[DEBUG Wed Feb 15 12:36:15 2023] ...site/pack/paks/opt/mason.nvim/lua/mason-core/process.lua:148: Job pid=9010 exited with exit_code=0, signal=0
[ERROR Wed Feb 15 12:36:15 2023] ...ck/paks/opt/mason.nvim/lua/mason-core/installer/init.lua:159: Installation failed for Package(name=lua-language-server) error="Could not find which release file to download.\nMost likely the current operating system or architecture is not supported (Linux_x64)."
[DEBUG Wed Feb 15 12:36:15 2023] ...nvim/site/pack/paks/opt/mason.nvim/lua/mason-core/fs.lua:47: fs: rmrf /home/foxy/.local/share/nvim/mason/.packages/lua-language-server
[DEBUG Wed Feb 15 12:36:15 2023] .../paks/opt/mason.nvim/lua/mason-core/installer/linker.lua:21: Unlinking Package(name=lua-language-server)
### Neovim version (>= 0.7)
NVIM v0.8.3
Build type: MinSizeRel
LuaJIT 2.1.0-beta3
Compiled by buildozer@build-edge-x86_64
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
### Operating system/version
Linux foxy-thinkpad 6.1.11-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Thu, 09 Feb 2023 15:21:13 +0000 x86_64 Linux
### Healthcheck
```Text
mason: require("mason.health").check()
========================================================================
## mason.nvim report
- OK: neovim version >= 0.7.0
- OK: **Go**: `go version go1.20 linux/amd64`
- WARNING: **cargo**: not available
- WARNING: **luarocks**: not available
- WARNING: **Ruby**: not available
- WARNING: **RubyGem**: not available
- WARNING: **Composer**: not available
- WARNING: **PHP**: not available
- OK: **npm**: `9.4.2`
- OK: **node**: `v18.14.0`
- OK: **python3**: `Python 3.11.2`
- WARNING: **pip3**: not available
- WARNING: **javac**: not available
- WARNING: **java**: not available
- WARNING: **julia**: not available
- OK: **wget**: `GNU Wget 1.21.3 built on linux-musl.`
- OK: **curl**: `curl 7.87.0 (x86_64-alpine-linux-musl) libcurl/7.87.0 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 nghttp2/1.51.0`
- OK: **gzip**: `gzip 1.12`
- OK: **tar**: `tar (busybox) 1.36.0`
- WARNING: **pwsh**: not available
- OK: **bash**: `GNU bash, version 5.2.15(1)-release (x86_64-alpine-linux-musl)`
- OK: **sh**: `Ok`
- OK: GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Wed Feb 15 13:41:41 2023.
Screenshots
No response
vinsonchuong and irondeau