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

Failed to fetch latest release from GitHub API

Open jakubgros opened this issue 2 years ago • 6 comments
trafficstars

I've searched open issues for similar requests

Yes

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

  • [X] Yes

Problem description

Hello, During installation of any package I got such error:

Failed (1)
    10 ]], true)               ◍ actionlint
    11                           ▶ # [2/2] ...start/mason.nvim/lua/mason-core/managers/github/init.lua:55: Failed to fetch latest release 
from GitHub API. Refer to :h mason-provider-errors for more information.
start/mason.nvim/lua/mason-core/managers/github/init.lua:55: Failed to fetch latest release from GitHub API. Refer to :h mason-provider-errors for more information.

I checked :h manson-provider-errors and as suggested I added the following to the setup:

providers = {
      "mason.providers.client",
      "mason.providers.registry-api",
  }

Unfortunately, it didn't help. I debugged Mason and I learned that apart from curl and wget, it tries to use the "gh" github CLI tool. Once I installed it and configured, my issues are gone.

I would like to suggest to mention the gh dependency somewhere in help/documentation because I couldn't find anything about it. Also, I'd check if gh is installed in :checkhealth Mason.

One more issue about gh is that Mason behaves as if it was not installed until gh auth login is run

Expected behavior

Package installs without any problem

Affected packages

All

Mason output

Failed (1)
    10 ]], true)               ◍ actionlint
    11                           ▶ # [2/2] ...start/mason.nvim/lua/mason-core/managers/github/init.lua:55: Failed to fetch latest release 
from GitHub API. Refer to :h mason-provider-errors for more information.
start/mason.nvim/lua/mason-core/managers/github/init.lua:55: Failed to fetch latest release from GitHub API. Refer to :h mason-provider-errors for more information.

Installation log

[INFO  Thu Dec 29 17:29:46 2022] ...acker/start/mason.nvim/lua/mason-core/installer/init.lua:120: Executing installer for Package(name=ada-language-server)
[DEBUG Thu Dec 29 17:29:46 2022] .../site/pack/packer/start/mason.nvim/lua/mason-core/fs.lua:71: fs: mkdirp /home/sg315781/.local/share/nvim/mason/.packages/ada-language-server
[DEBUG Thu Dec 29 17:29:46 2022] ...te/pack/packer/start/mason.nvim/lua/mason-core/spawn.lua:82: "gh" is not executable
[ERROR Thu Dec 29 17:29:46 2022] ...acker/start/mason.nvim/lua/mason-core/providers/init.lua:58: Provider "github" "get_latest_release" failed: spawn: gh failed with exit code - and signal -. gh is not executable
[DEBUG Thu Dec 29 17:29:46 2022] ...te/pack/packer/start/mason.nvim/lua/mason-core/fetch.lua:34: Fetching URL "https://api.mason-registry.dev/api/repo/AdaCore/ada_language_server/releases/latest?include_prerelease=false"
[DEBUG Thu Dec 29 17:29:46 2022] .../pack/packer/start/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/repo/AdaCore/ada_language_server/releases/latest?include_prerelease=false" }
}
[DEBUG Thu Dec 29 17:29:46 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:162: Spawned with pid 2782
[DEBUG Thu Dec 29 17:29:56 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:148: Job pid=2782 exited with exit_code=6, signal=0
[DEBUG Thu Dec 29 17:29:56 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:116: Spawning cmd="wget", spawn_opts={
  args = { "--header=Accept: application/vnd.mason-registry.v1+json; q=1.0, application/json; q=0.8", "--header=User-Agent: mason.nvim (+https://github.com/williamboman/mason.nvim)", "-nv", "-o", "/dev/null", "-O", "-", "--method=GET", "https://api.mason-registry.dev/api/repo/AdaCore/ada_language_server/releases/latest?include_prerelease=false" }
}
[DEBUG Thu Dec 29 17:29:56 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:162: Spawned with pid 4287
[DEBUG Thu Dec 29 17:30:06 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:148: Job pid=4287 exited with exit_code=4, signal=0
[ERROR Thu Dec 29 17:30:06 2022] ...acker/start/mason.nvim/lua/mason-core/providers/init.lua:58: Provider "github" "get_latest_release" failed: spawn: wget failed with exit code 4 and signal 0. 
[ERROR Thu Dec 29 17:30:06 2022] ...acker/start/mason.nvim/lua/mason-core/providers/init.lua:69: No provider implementation found for github.get_latest_release
[ERROR Thu Dec 29 17:30:06 2022] ...acker/start/mason.nvim/lua/mason-core/installer/init.lua:159: Installation failed for Package(name=ada-language-server) error="...start/mason.nvim/lua/mason-core/managers/github/init.lua:55: Failed to fetch latest release from GitHub API. Refer to :h mason-provider-errors for more information."
[DEBUG Thu Dec 29 17:30:06 2022] .../site/pack/packer/start/mason.nvim/lua/mason-core/fs.lua:47: fs: rmrf /home/sg315781/.local/share/nvim/mason/.packages/ada-language-server
[DEBUG Thu Dec 29 17:30:06 2022] ...ker/start/mason.nvim/lua/mason-core/installer/linker.lua:21: Unlinking Package(name=ada-language-server)





[INFO  Thu Dec 29 17:30:27 2022] ...acker/start/mason.nvim/lua/mason-core/installer/init.lua:120: Executing installer for Package(name=actionlint)
[DEBUG Thu Dec 29 17:30:27 2022] .../site/pack/packer/start/mason.nvim/lua/mason-core/fs.lua:71: fs: mkdirp /home/sg315781/.local/share/nvim/mason/.packages/actionlint
[DEBUG Thu Dec 29 17:30:27 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:116: Spawning cmd="gh", spawn_opts={
  args = { "api", "repos/rhysd/actionlint/releases/latest" }
}
[DEBUG Thu Dec 29 17:30:27 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:162: Spawned with pid 12200
[DEBUG Thu Dec 29 17:30:27 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:148: Job pid=12200 exited with exit_code=4, signal=0
[ERROR Thu Dec 29 17:30:27 2022] ...acker/start/mason.nvim/lua/mason-core/providers/init.lua:58: Provider "github" "get_latest_release" failed: spawn: gh failed with exit code 4 and signal 0. Welcome to GitHub CLI!

To authenticate, please run `gh auth login`.

[DEBUG Thu Dec 29 17:30:27 2022] ...te/pack/packer/start/mason.nvim/lua/mason-core/fetch.lua:34: Fetching URL "https://api.mason-registry.dev/api/repo/rhysd/actionlint/releases/latest?include_prerelease=false"
[DEBUG Thu Dec 29 17:30:27 2022] .../pack/packer/start/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/repo/rhysd/actionlint/releases/latest?include_prerelease=false" }
}
[DEBUG Thu Dec 29 17:30:27 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:162: Spawned with pid 12209
[DEBUG Thu Dec 29 17:30:37 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:148: Job pid=12209 exited with exit_code=6, signal=0
[DEBUG Thu Dec 29 17:30:37 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:116: Spawning cmd="wget", spawn_opts={
  args = { "--header=Accept: application/vnd.mason-registry.v1+json; q=1.0, application/json; q=0.8", "--header=User-Agent: mason.nvim (+https://github.com/williamboman/mason.nvim)", "-nv", "-o", "/dev/null", "-O", "-", "--method=GET", "https://api.mason-registry.dev/api/repo/rhysd/actionlint/releases/latest?include_prerelease=false" }
}
[DEBUG Thu Dec 29 17:30:37 2022] .../pack/packer/start/mason.nvim/lua/mason-core/process.lua:162: Spawned with pid 13695

Neovim version (>= 0.7)

NVIM v0.8.1 Build type: Release LuaJIT 2.1.0-beta3 Compiled by linuxbrew@43b3775c8372

Features: +acl +iconv +tui See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: " /home/linuxbrew/.linuxbrew/Cellar/neovim/0.8.1/share/nvim"

Run :checkhealth for more info

Operating system/version

Linux DE82D6CK3 5.15.79.1-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Healthcheck

mason: require("mason.health").check()
========================================================================
## mason.nvim report
  - OK: neovim version >= 0.7.0
  - OK: **Go**: `go version go1.19.4 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.2.0`
  - OK: **node**: `v19.3.0`
  - OK: **python3**: `Python 3.10.9`
  - OK: **pip3**: `pip 22.3.1 from /home/linuxbrew/.linuxbrew/Cellar/[email protected]/3.10.9/lib/python3.10/site-packages/pip (python 3.10)`
  - OK: **javac**: `javac 11.0.17`
  - OK: **java**: `openjdk version "11.0.17" 2022-10-18`
  - WARNING: **julia**: not available
  - OK: **wget**: `GNU Wget 1.21.2 built on linux-gnu.`
  - OK: **curl**: `curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.13`
  - OK: **gzip**: `gzip 1.10`
  - OK: **tar**: `tar (GNU tar) 1.34`
  - WARNING: **pwsh**: not available
  - OK: **bash**: `GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)`
  - OK: **sh**: `Ok`
  - OK: **python3_host_prog**: `Python 3.10.9`
  - OK: **python3_host_prog pip**: `pip 22.3.1 from /home/linuxbrew/.linuxbrew/Cellar/[email protected]/3.10.9/lib/python3.10/site-packages/pip (python 3.10)`
  - OK: GitHub API rate limit. Used: 3. Remaining: 4997. Limit: 5000. Reset: Thu Dec 29 18:32:29 2022.

Screenshots

No response

jakubgros avatar Dec 29 '22 17:12 jakubgros

I also have the same issue, I cant install clangd lua-language-server

XobSod avatar Jan 04 '23 13:01 XobSod

Hey! Hm I'm pretty sure gh api at least used to allow for unauthenticated requests, with a pretty strict IP-based rate limiting policy. Makes sense to add a warning to the health check!

williamboman avatar Jan 05 '23 11:01 williamboman

[INFO  Fri Jan  6 01:00:13 2023] ...acker/start/mason.nvim/lua/mason-core/installer/init.lua:120: Executing installer for Package(name=lua-language-server)
[ERROR Fri Jan  6 01:00:13 2023] ...acker/start/mason.nvim/lua/mason-core/providers/init.lua:58: Provider "github" "get_latest_release" failed: spawn: wget failed with exit code 4 and signal 0. 
[ERROR Fri Jan  6 01:00:13 2023] ...acker/start/mason.nvim/lua/mason-core/providers/init.lua:69: No provider implementation found for github.get_latest_release
[ERROR Fri Jan  6 01:00:13 2023] ...acker/start/mason.nvim/lua/mason-core/installer/init.lua:159: Installation failed for Package(name=lua-language-server) error="...start/mason.nvim/lua/mason-core/managers/github/init.lua:55: Failed to fetch latest release from GitHub API. Refer to :h mason-provider-errors for more information."
[ERROR Fri Jan  6 01:00:17 2023] ...acker/start/mason.nvim/lua/mason-core/providers/init.lua:58: Provider "npm" "get_latest_version" failed: spawn: wget failed with exit code 4 and signal 0. 
[ERROR Fri Jan  6 01:00:17 2023] ...acker/start/mason.nvim/lua/mason-core/providers/init.lua:69: No provider implementation found for npm.get_latest_version
[ERROR Fri Jan  6 01:00:17 2023] ...acker/start/mason.nvim/lua/mason-core/providers/init.lua:58: Provider "npm" "get_latest_version" failed: spawn: wget failed with exit code 4 and signal 0. 

my config

local servers = {
  -- clangd = {},
  -- rust_analyzer = {},
  gopls = {},
  pyright = {},
  tsserver = {},

  sumneko_lua = {
    Lua = {
      workspace = { checkThirdParty = false },
      telemetry = { enable = false },
    },
  },
}

-- Setup neovim lua configuration
require('neodev').setup()
--
-- nvim-cmp supports additional completion capabilities, so broadcast that to servers
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)

-- Setup mason so it can manage external tooling
require('mason').setup()

-- Ensure the servers above are installed
local mason_lspconfig = require 'mason-lspconfig'

mason_lspconfig.setup {
  ensure_installed = vim.tbl_keys(servers),
}

mason_lspconfig.setup_handlers {
  function(server_name)
    require('lspconfig')[server_name].setup {
      capabilities = capabilities,
      on_attach = on_attach,
      settings = servers[server_name],
    }
  end,
}

is there any way to point to the one installed with brew. like brew install lua-language-server

amitavaghosh1 avatar Jan 05 '23 19:01 amitavaghosh1

for lua-language-server. Rn, for the lua-language-server. I installed the executable to $PATH. And then remove the sumneko_lua key entry from servers and setup the config as such


require('lspconfig').sumneko_lua.setup({
  capabilities = capabilities,
  on_attach = on_attach,
  settings = {
    Lua = {
      runtime = {
        version = 'LuaJIT',
      },
      diagnostics = {
        -- Get the language server to recognize the `vim` global
        globals = {'vim'},
      },
      workspace = {
        library = vim.api.nvim_get_runtime_file("", true),
        checkThirdParty = false,
      },
      -- Do not send telemetry data containing a randomized but unique identifier
      telemetry = {
        enable = false,
      },
    },
  },
})

amitavaghosh1 avatar Jan 05 '23 19:01 amitavaghosh1

I have a similar issue

[INFO  Thu 05 Jan 2023 12:23:23 PM PST] ...acker/start/mason.nvim/lua/mason-core/installer/init.lua:120: Executing installer for Package(name=lua-language-server)
[ERROR Thu 05 Jan 2023 12:23:23 PM PST] ...acker/start/mason.nvim/lua/mason-core/providers/init.lua:58: Provider "github" "get_latest_release" failed: spawn: wget failed with exit code 4 and signal 0.
[ERROR Thu 05 Jan 2023 12:23:23 PM PST] ...acker/start/mason.nvim/lua/mason-core/providers/init.lua:69: No provider implementation found for github.get_latest_release
[ERROR Thu 05 Jan 2023 12:23:23 PM PST] ...acker/start/mason.nvim/lua/mason-core/installer/init.lua:159: Installation failed for Package(name=lua-language-server) error="...start/mason.nvim/lua/mason-core/managers/github/init.lua:55: Failed to fetch latest release from GitHub API. Refer to :h mason-provider-errors for more information."

I suspect it has something to do with me being behind a corporate proxy appliance. However, the proxy certificates are added to the system and I do not have problems using wget, gh, curl etc.

Does Mason launch these in with a custom CA set or otherwise in a way that ignores the system CA stores?


Editing my post to confirm the proxy issue. Found mason.providers.client and it's working now.


Does not work with unauthenticated gh for me . Not a showstopper, but seems wrong. Can it be avoided?

ysiivan avatar Jan 05 '23 21:01 ysiivan

There are several causes of failure when mason attempts to fetch and install LSP servers (LSP servers that use pip/npm to install can still install without problems, but other servers like clangd or sumneko_lua will fail):

1.) curl/wget versions are too old and do not recognize the passed arguments

  • for example older wget does not support --method argument, error in mason.log can look like this: Provider "github" "get_latest_release" failed: spawn: wget failed with exit code 2 and signal 0. Usage: wget [OPTION]... [URL]...
  • solution is to install more recent curl/wget

2.) corporate proxy/firewall is preventing access to api.mason-registry.dev

  • can be checked for example via curl: curl -L api.mason-registry.dev
  • the curl output may look like this when it is blocked:
    <h1>Web Page Blocked</h1>
    <p>The web page you are trying to visit has been blocked in accordance with company policy. Please contact your system administrator if you believe this is an error.</p>
    <div class="response">
        <p><b>User:</b> 1.2.3.4</p>
        <p><b>URL:</b> api.mason-registry.dev/</p>
        <p><b>Category:</b> grayware</p>
  • solution is to configure mason.providers.client in providers table:
require("mason").setup {
    providers = { "mason.providers.client", "mason.providers.registry-api", }
}

3.) GitHub CLI client "gh" is not installed

  • gh client must be installed when the mason.providers.client is used as a workaround for the issue 2.
  • solution is to install the gh client (see https://github.com/cli/cli#installation)

If all workarounds fail then download the LSPs on another machine and copy the whole ~/.local/share/nvim/mason folder to your machine.

adizero avatar Jan 07 '23 09:01 adizero

Also didn't work for me I also have the setup providers set.

[ERROR 2/21/2023 4:43:02 PM] ...ck/lazy/opt/mason.nvim/lua/mason-core/providers/init.lua:69: No provider implementation found for github.get_latest_tag
[ERROR 2/21/2023 4:43:02 PM] ...ck/lazy/opt/mason.nvim/lua/mason-core/installer/init.lua:159: Installation failed for Package(name=node-debug2-adapter) error="...y/opt/mason.nvim/lua/mason-core/managers/github/init.lua:107: Failed to fetch latest tag from GitHub API."

sschneider-ihre-pvs avatar Feb 21 '23 15:02 sschneider-ihre-pvs

Try to login with gh auth login -w. It worked for me in a kind of similar case.

borisbrodski avatar Mar 20 '23 11:03 borisbrodski

I had roughly the same issue. I'm now investigating whether gh will also fix my issue

saladuit avatar Mar 31 '23 06:03 saladuit

@borisbrodski Works for me 😅

saladuit avatar Mar 31 '23 06:03 saladuit

@borisbrodski This works for me as well! Hours of trials and errors. Stopped for 2 days and finally got to this thread. Thank you so much!

morgaan avatar Apr 02 '23 21:04 morgaan

Are people still experiencing issues with this? The client should be slightly more robust now with fallbacks in place that were missing before. Ultimately, if the API is not reachable for whatever reason you'll have to resolve the underlying issue first. Installing and authenticating via gh can help mitigate issues if you're behind closed down VPNs with a shared public IP.

williamboman avatar Apr 28 '23 18:04 williamboman

Can you include the "GH authentication" hint in the error message?

Also it would be extremely helpful to allow users to download files manually including in the error message the original URL and the local path to the folder and the expected target file name, so we can download files manually and rerun the installation progress.

borisbrodski avatar Apr 29 '23 08:04 borisbrodski

Also it would be extremely helpful to allow users to download files manually including in the error message the original URL and the local path to the folder and the expected target file name, so we can download files manually and rerun the installation progress.

Manually completing steps of the installation process will not be considered because not only would it be very error prone and complex to implement but at that point you might as well manage the installation externally.

williamboman avatar Jun 30 '23 07:06 williamboman

I'm getting this. Can't seem to figure out why since there's no firewall, and everything is up to date.

[INFO  Mon 27 Mar 16:30:38 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:166: Executing installer for Package(name=pyright) version="latest"
[INFO  Mon 27 Mar 16:30:38 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:166: Executing installer for Package(name=texlab) version="latest"
[INFO  Mon 27 Mar 16:30:39 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:193: Installation succeeded for Package(name=texlab)
[INFO  Mon 27 Mar 16:30:41 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:193: Installation succeeded for Package(name=pyright)
[INFO  Mon 27 Mar 16:31:39 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:166: Executing installer for Package(name=luau-lsp) version="latest"
[INFO  Mon 27 Mar 16:31:40 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:193: Installation succeeded for Package(name=luau-lsp)
[ERROR Thu 30 Mar 07:01:24 2023] ...l/share/nvim/lazy/mason.nvim/lua/mason-registry/init.lua:78: Cannot find package "\"latex\"".
[INFO  Thu 30 Mar 07:01:29 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:166: Executing installer for Package(name=texlab) version="latest"
[INFO  Thu 30 Mar 07:01:31 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:193: Installation succeeded for Package(name=texlab)
[INFO  Tue 23 May 06:55:52 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=ruff-lsp) {}
[INFO  Tue 23 May 06:56:02 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:245: Installation succeeded for Package(name=ruff-lsp)
[INFO  Tue  4 Jul 10:49:23 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=lua-language-server) {}
[INFO  Tue  4 Jul 10:49:25 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:245: Installation succeeded for Package(name=lua-language-server)
[INFO  Tue  4 Jul 10:50:45 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=lua-language-server) {}
[INFO  Tue  4 Jul 10:50:47 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:245: Installation succeeded for Package(name=lua-language-server)
[INFO  Tue  4 Jul 10:52:27 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=python-lsp-server) {}
[INFO  Tue  4 Jul 10:52:42 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:245: Installation succeeded for Package(name=python-lsp-server)
[ERROR Fri 29 Dec 21:07:10 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:75: Provider "github" "get_latest_release" failed: spawn: wget failed with exit code 4 and signal 0. 
[ERROR Fri 29 Dec 21:07:10 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:75: Provider "github" "get_latest_release" failed: spawn: wget failed with exit code 4 and signal 0. 
[ERROR Fri 29 Dec 21:07:10 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:86: No provider implementation succeeded for github.get_latest_release
[ERROR Fri 29 Dec 21:07:10 2023] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "Failed to fetch latest registry version from GitHub API."
[ERROR Fri 29 Dec 21:07:30 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:75: Provider "github" "get_latest_release" failed: spawn: wget failed with exit code 4 and signal 0. 
[ERROR Fri 29 Dec 21:07:30 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:75: Provider "github" "get_latest_release" failed: spawn: wget failed with exit code 4 and signal 0. 
[ERROR Fri 29 Dec 21:07:30 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:86: No provider implementation succeeded for github.get_latest_release
[ERROR Fri 29 Dec 21:07:30 2023] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "Failed to fetch latest registry version from GitHub API."
[ERROR Fri 29 Dec 21:31:38 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:75: Provider "github" "get_latest_release" failed: spawn: wget failed with exit code 4 and signal 0. 
[ERROR Fri 29 Dec 21:31:38 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:75: Provider "github" "get_latest_release" failed: spawn: wget failed with exit code 4 and signal 0. 
[ERROR Fri 29 Dec 21:31:38 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:86: No provider implementation succeeded for github.get_latest_release
[ERROR Fri 29 Dec 21:31:38 2023] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "Failed to fetch latest registry version from GitHub API."

NeilGirdhar avatar Feb 25 '24 18:02 NeilGirdhar