mason-tool-installer.nvim icon indicating copy to clipboard operation
mason-tool-installer.nvim copied to clipboard

Error Linking Already Installed

Open rickswe opened this issue 9 months ago • 0 comments

Hello,

This is probably not a big issue but I wanted to make you aware that sometimes when a program is already installed it will throw an error that it's already linked for some reason.

The fix was for me to delete the link and restart, looks like this may be a bug?

Once I deleted the link in mason/bin it worked fine:

rm vscode-eslint-language-server
rm vscode-json-language-server
[INFO  Mon 26 May 2025 08:39:02 AM CDT] ...zy/mason.nvim/lua/mason-core/installer/InstallRunner.lua:86: Installation succeeded for Package(name=eslint-lsp)
[INFO  Mon 26 May 2025 08:39:03 AM CDT] ...zy/mason.nvim/lua/mason-core/installer/InstallRunner.lua:86: Installation succeeded for Package(name=json-lsp)

If it's already installed then perhaps it should be skipped without throwing an error? I didn't have any issues with all the other programs I have installed. Some are linked to my executables path because I'm on NixOS. However, I don't think this is the issue.

rickswe avatar May 26 '25 13:05 rickswe