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.69k stars 271 forks source link

Mason registery cannot installed #1604

Open Midren opened 8 months ago

Midren commented 8 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 mason-registry:

ERROR Registry `github.com/mason-org/mason-registry [uninstalled]` is not installed.

When doing :MasonUpdate:

Failed to update registries: /root/.vim/plugged/mason.nvim/lua/mason-core/log.lua:141: bad argument #2 to 'format' (string expected, got table)

Next issue can be seen inside :MasonLog:

[ERROR Fri 19 Jan 2024 03:13:11 PM UTC] (tail call):-1: Provider "github" "get_latest_release" errored: "attempt to yield across metamethod/C-call boundary"
[ERROR Fri 19 Jan 2024 03:13:11 PM UTC] (tail call):-1: No provider implementation succeeded for github.get_latest_release

Expected behavior

Install registry

Steps to reproduce

  1. :MasonUpdate

Neovim version (>= 0.7)

NVIM v0.10.0-dev Build type: RelWithDebInfo Lua 5.1 Run "nvim -V1 -v" for more info

Operating system/version

Linux Romans-MacBook-Pro.local 5.10.124-linuxkit #1 SMP PREEMPT Thu Jun 30 08:18:26 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

Healthcheck output

- OK mason.nvim version v1.9.0
- OK PATH: prepend
- OK Providers: 
    mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- ERROR Registry `github.com/mason-org/mason-registry [uninstalled]` is not installed.
  - ADVICE:
    - Run :MasonUpdate to install.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.`
- OK wget: `GNU Wget 1.20.3 built on linux-gnu.`
- OK curl: `curl 7.68.0 (aarch64-unknown-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3`
- OK gzip: `gzip 1.10`
- OK tar: `tar (GNU tar) 1.30`
- OK bash: `GNU bash, version 5.0.17(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
- OK node: `v16.20.2`
- OK Ruby: `ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [aarch64-linux-gnu]`
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.8.10`
- OK java: `openjdk version "13.0.7" 2021-04-20`
- OK RubyGem: `3.1.2`
- OK javac: `javac 13.0.7`
- OK npm: `8.19.4`
- OK pip: `pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 2. Remaining: 58. Limit: 60. Reset: Fri 19 Jan 2024 03:15:11 PM UTC.
  Install and authenticate via gh-cli to increase rate limit.

Screenshots

No response