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.58k stars 270 forks source link

Mason plugin doesn't install mason-registry #1756

Open vprashar2929 opened 1 month ago

vprashar2929 commented 1 month ago

I've searched open issues for similar requests

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

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:

348790467-176497b4-0256-473b-9595-23c610e94285 348790710-8df95e67-8093-4601-901f-d591c23059f8 348791031-5d01a801-07a0-4605-a6c2-1f2791423520

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

  1. Install neovim with above defined version.
  2. Follow the installation steps mentioned here: https://www.lazyvim.org/installation
  3. 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

348791031-5d01a801-07a0-4605-a6c2-1f2791423520

Screenshots

No response

McEazy2700 commented 1 month ago

Hi, I have this same issue, I just updated astrovim this morning. And I'm not able to install mason packages image

russsaidwords commented 1 month ago

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.

rogedelgado commented 2 weeks ago

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.

hallelx2 commented 2 weeks ago

I tried this also, the package installed but it did not work