Mason plugin doesn't install mason-registry
I've searched open issues for similar requests
- [X] Yes
I've recently downloaded the latest plugin version of mason.nvim
- [X] Yes
Problem description
When LazyVim is installed and the Mason plugin is checked, no languages/linters/LSP etc appear in the list. It seems that the mason-registry is uninstalled. Additionally, when the :checkhealth command is executed, it gets stuck and displays the following error.
Attaching some screenshot for reference:
Expected behavior
Once LazyVim is installed and Mason plugin checked it should have installed the registries which entail shows the list of linters/languages etc available for installing.
Steps to reproduce
- Install neovim with above defined version.
- Follow the installation steps mentioned here: https://www.lazyvim.org/installation
- Check the Mason plugin to see if the list of langauges/linters/formatters etc are available
Neovim version (>= 0.7)
v0.10.0
Operating system/version
Darwin
Healthcheck output
Screenshots
No response
Hi, I have this same issue, I just updated astrovim this morning. And I'm not able to install mason packages
Change from:
return {
'williamboman/mason.nvim'
}
to:
return {
'williamboman/mason.nvim',
dependencies = { 'mason-org/mason-registry' },
}
Then ensure that the package gets installed - probably close and re-open Neovim - sorry, I don't have step by step instructions for you there.
Change from:
return { 'williamboman/mason.nvim' }to:
return { 'williamboman/mason.nvim', dependencies = { 'mason-org/mason-registry' }, }Then ensure that the package gets installed - probably close and re-open Neovim - sorry, I don't have step by step instructions for you there.
I can confirm the same issue. After a fresh installation of nvim, and after the Lazy plugin definition has been updated as suggested, the issue persists.
I tried this also, the package installed but it did not work
I am facing the same problem. Have you already solved this problem?
error
Registry installation failed with the following error:
GitHubRegistrySource(repo=mason-org/mason-registry) failed to install: ENOENT: no such file or directory: /Users/nohira/.local/share/nvim/mason/registries/github/mason-org/mason-registry/registry.json.zip
nvim version
NVIM v0.11.1
Build type: Release
LuaJIT 2.1.1741730670
Run "nvim -V1 -v" for more info
mason version
● mason.nvim 4.27ms mason config.lspconfig
dir /Users/hogehoge/.local/share/nvim/lazy/mason.nvim
url https://github.com/williamboman/mason.nvim
branch main
commit 888d6ee
readme README.md
help |mason.nvim|
✔ [task] log 221.44ms
setting
-- https://github.com/williamboman/mason.nvim.git
-- https://github.com/williamboman/mason-lspconfig.nvim.git
return {
-- Mason
{
"williamboman/mason.nvim",
dependencies = { 'mason-org/mason-registry' },
-- Config
config = function()
require("mason").setup()
end,
},
-- Mason LSPConfig
{
"williamboman/mason-lspconfig.nvim",
}
}