williamboman / mason.nvim

Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
Apache License 2.0
7.22k stars 258 forks source link

Cannot install lemminx: The current platform is unsupported #1674

Open rvnkcode opened 2 months ago

rvnkcode commented 2 months ago

I've searched open issues for similar requests

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

Problem description

Cannot install lemminx with mason

Expected behavior

Mason should install a version of lemminx compatible with the platform.

Affected packages

lemminx

Mason output

No response

Installation log

[INFO  Mon 08 Apr 2024 18:25:03 JST] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=lemminx) {}
[DEBUG Mon 08 Apr 2024 18:25:04 JST] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:58: Attempting to lock package Package(name=lemminx)
[DEBUG Mon 08 Apr 2024 18:25:04 JST] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:70: Wrote lockfile Package(name=lemminx)
[DEBUG Mon 08 Apr 2024 18:25:04 JST] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:71: fs: mkdirp /home/ksy/.local/share/nvim/mason/staging/lemminx
[DEBUG Mon 08 Apr 2024 18:25:04 JST] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:149: Compiling installer. lemminx {}
[DEBUG Mon 08 Apr 2024 18:25:04 JST] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:141: Failed to parse spec spec lemminx PLATFORM_UNSUPPORTED
[DEBUG Mon 08 Apr 2024 18:25:04 JST] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:59: fs: unlink /home/ksy/.local/share/nvim/mason/staging/lemminx.lock
[DEBUG Mon 08 Apr 2024 18:25:04 JST] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:47: fs: rmrf /home/ksy/.local/share/nvim/mason/staging/lemminx
[DEBUG Mon 08 Apr 2024 18:25:04 JST] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:39: Building receipt for Package(name=lemminx)
[ERROR Mon 08 Apr 2024 18:25:04 JST] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=lemminx) error="The current platform is unsupported."

Neovim version (>= 0.7)

NVIM v0.9.5 Build type: Release LuaJIT 2.1.1692716794

Operating system/version

Linux rpi 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux

Healthcheck

mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers: 
  mason.providers.registry-api
  mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-04-08-mighty-parade` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.`
- OK wget: `GNU Wget 1.21.3 built on linux-gnu.`
- OK curl: `curl 7.88.1 (aarch64-unknown-linux-gnu) libcurl/7.88.1 OpenSSL/3.0.11 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh2/1.10.0 nghttp2/1.52.0 librtmp/2.3 OpenLDAP/2.5.13`
- OK gzip: `gzip 1.12`
- OK tar: `tar (GNU tar) 1.34`
- OK bash: `GNU bash, version 5.2.15(1)-release (aarch64-unknown-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- WARNING Go: not available
  - ADVICE:
    - spawn: go failed with exit code - and signal -. go is not executable
- WARNING Composer: not available
  - ADVICE:
    - spawn: composer failed with exit code - and signal -. composer is not executable
- WARNING PHP: not available
  - ADVICE:
    - spawn: php failed with exit code - and signal -. php is not executable
- WARNING cargo: not available
  - ADVICE:
    - spawn: cargo failed with exit code - and signal -. cargo is not executable
- WARNING luarocks: not available
  - ADVICE:
    - spawn: luarocks failed with exit code - and signal -. luarocks is not executable
- WARNING javac: not available
  - ADVICE:
    - spawn: javac failed with exit code - and signal -. javac is not executable
- WARNING java: not available
  - ADVICE:
    - spawn: java failed with exit code - and signal -. java is not executable
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- WARNING Ruby: not available
  - ADVICE:
    - spawn: ruby failed with exit code - and signal -. ruby is not executable
- WARNING RubyGem: not available
  - ADVICE:
    - spawn: gem failed with exit code - and signal -. gem is not executable
- OK python: `Python 3.11.2`
- WARNING pip: not available
  - ADVICE:
    - spawn: python3 failed with exit code 1 and signal 0. /usr/bin/python3: No module named pip

- OK node: `v21.7.2`
- OK python venv: `Ok`
- OK npm: `10.5.1`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 2. Remaining: 58. Limit: 60. Reset: Mon 08 Apr 2024 19:09:57 JST.
  Install and authenticate via gh-cli to increase rate limit.

Screenshots

No response

Conarius commented 1 month ago

Unfortunately there is no arm64 binary available for lemminx so your rpi is currently unsupported by lemminx itself.