You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently downloaded the latest plugin version of mason.nvim
Yes
Problem description
A number of LSPs:
bash-language-server
css-lsp
dockerfile-language-server
json-lsp
typescript-language-server
vim-language-server
yaml-language-server
All fail to install due to the same error: [ERROR Tue Aug 13 11:00:39 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=bash-language-server) error='.../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:53: rmrf: Could not remove directory "/home/rw/.local/share/nvim/mason/staging/bash-language-server".'
The same result occurs when this directory is deleted manually. The directories are owned by my user.
[DEBUG Tue Aug 13 11:06:55 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:70: Wrote lockfile Package(name=vim-language-server)
[DEBUG Tue Aug 13 11:06:55 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:70: Wrote lockfile Package(name=typescript-language-server)
[DEBUG Tue Aug 13 11:06:55 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:70: Wrote lockfile Package(name=yaml-language-server)
[DEBUG Tue Aug 13 11:06:55 2024] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:47: fs: rmrf /home/rw/.local/share/nvim/mason/staging/vim-language-server
[DEBUG Tue Aug 13 11:06:55 2024] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:47: fs: rmrf /home/rw/.local/share/nvim/mason/staging/yaml-language-server
[DEBUG Tue Aug 13 11:06:55 2024] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:47: fs: rmrf /home/rw/.local/share/nvim/mason/staging/typescript-language-server
[DEBUG Tue Aug 13 11:06:55 2024] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:52: fs: rmrf failed
[DEBUG Tue Aug 13 11:06:55 2024] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:59: fs: unlink /home/rw/.local/share/nvim/mason/staging/vim-language-server.lock
[DEBUG Tue Aug 13 11:06:55 2024] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:52: fs: rmrf failed
[DEBUG Tue Aug 13 11:06:55 2024] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:59: fs: unlink /home/rw/.local/share/nvim/mason/staging/yaml-language-server.lock
[DEBUG Tue Aug 13 11:06:55 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:39: Building receipt for Package(name=vim-language-server)
[ERROR Tue Aug 13 11:06:55 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=vim-language-server) error='.../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:53: rmrf: Could not remove directory "/home/rw/.local/share/nvim/mason/staging/vim-language-server".'
[DEBUG Tue Aug 13 11:06:55 2024] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:52: fs: rmrf failed
[DEBUG Tue Aug 13 11:06:55 2024] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:59: fs: unlink /home/rw/.local/share/nvim/mason/staging/typescript-language-server.lock
[DEBUG Tue Aug 13 11:06:55 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:39: Building receipt for Package(name=yaml-language-server)
[ERROR Tue Aug 13 11:06:55 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=yaml-language-server) error='.../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:53: rmrf: Could not remove directory "/home/rw/.local/share/nvim/mason/staging/yaml-language-server".'
[DEBUG Tue Aug 13 11:06:55 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:39: Building receipt for Package(name=typescript-language-server)
[ERROR Tue Aug 13 11:06:55 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=typescript-language-server) error='.../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:53: rmrf: Could not remove directory "/home/rw/.local/share/nvim/mason/staging/typescript-language-server".'
Neovim version (>= 0.7)
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1720049189
Run "nvim -V1 -v" for more info
Operating system/version
Linux LAPPY-3000 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 GNU/Linux
Healthcheck
mason: require("mason.health").check()
mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers:
mason.providers.registry-api
mason.providers.client
- OK neovim version >= 0.7.0
mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-08-13-loose-weight` is installed.
mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. Send`
- OK wget: `GNU Wget 1.24.5 built on linux-gnu.`
- OK curl: `curl 8.9.1 (x86_64-pc-linux-gnu) libcurl/8.9.1 OpenSSL/3.3.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.62.1 nghttp3/1.4.0`
- OK gzip: `gzip 1.13`
- OK tar: `tar (GNU tar) 1.35`
- OK bash: `GNU bash, version 5.2.32(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`
mason.nvim [Languages] ~
- OK Ruby: `ruby 3.2.4 (2024-04-23 revision af471c0e01) [x86_64-linux]`
- OK Go: `go version go1.22.6 linux/amd64`
- OK luarocks: `/usr/sbin/luarocks 3.11.1`
- OK PHP: `PHP 8.3.10 (cli) (built: Jul 31 2024 13:54:49) (NTS)`
- OK cargo: `cargo 1.80.0 (376290515 2024-07-16)`
- OK node: `v22.6.0`
- OK Composer: `Composer version 2.7.7 2024-06-10 22:11:12`
- OK RubyGem: `3.4.19`
- OK java: `openjdk version "22.0.2" 2024-07-16`
- OK python: `Python 3.12.4`
- OK julia: `julia version 1.10.4`
- OK npm: `10.8.2`
- OK javac: `javac 22.0.2`
- OK pip: `pip 24.2 from /usr/lib/python3.12/site-packages/pip (python 3.12)`
- OK python venv: `Ok`
mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Tue Aug 13 12:25:55 2024.
Install and authenticate via gh-cli to increase rate limit.
Screenshots
No response
The text was updated successfully, but these errors were encountered:
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
A number of LSPs:
bash-language-server
css-lsp
dockerfile-language-server
json-lsp
typescript-language-server
vim-language-server
yaml-language-server
All fail to install due to the same error:
[ERROR Tue Aug 13 11:00:39 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=bash-language-server) error='.../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:53: rmrf: Could not remove directory "/home/rw/.local/share/nvim/mason/staging/bash-language-server".'
The same result occurs when this directory is deleted manually. The directories are owned by my user.
Expected behavior
LSPs install.
Affected packages
bash-language-server css-lsp dockerfile-language-server json-lsp typescript-language-server vim-language-server yaml-language-server
Mason output
No response
Installation log
Neovim version (>= 0.7)
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1720049189
Run "nvim -V1 -v" for more info
Operating system/version
Linux LAPPY-3000 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 GNU/Linux
Healthcheck
Screenshots
No response
The text was updated successfully, but these errors were encountered: