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
Hello. I can't seem to get mason to install correctly. I have no idea why, I can't find this issue anywhere and I would like some help! I've pasted my checkhealth below. Mason is used with mason-lspconfig.nvim and nvim-lspconfig as shown also below, I'm using lazy to load the .lua file from a plugin directory. All other plugins work find and lazy shows no installation errors. I can't get any Mason command to work! I'm using the latest version for everything.
lsp.lua
return {
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
"neovim/nvim-lspconfig",
config = function()
require("mason").setup({
registries = {
"github:mason-org/mason-registry",
},
})
require("mason-lspconfig").setup()
require("mason-lspconfig").setup_handlers {
-- The first entry (without a key) will be the default handler
-- and will be called for each installed server that doesn't have
-- a dedicated handler.
function (server_name) -- default handler (optional)
require("lspconfig")[server_name].setup {}
end,
-- Next, you can provide a dedicated handler for specific servers.
-- For example, a handler override for the `rust_analyzer`:
-- ["rust_analyzer"] = function ()
-- require("rust-tools").setup {}
-- end
}
end
}
checkhealth mason:
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] ~
mason.nvim [Core utils] ~
- WARNING unzip: not available
- ADVICE:
- spawn: unzip failed with exit code - and signal -. unzip is not executable
- OK wget: `GNU Wget 1.21.4 built on cygwin.`
- OK curl: `curl 8.4.0 (Windows) libcurl/8.4.0 Schannel WinIDN
`
- OK gzip: `gzip 1.13`
- OK tar: `bsdtar 3.6.2 - libarchive 3.6.2 zlib/1.2.5.f-ipp liblzma/5.2.5 bz2lib/1.0.8 libzstd/1.5.4
`
- OK pwsh: `7.4.2 Microsoft Windows 10.0.22631 Win32NT
`
- WARNING 7z: not available
- ADVICE:
- spawn: 7z failed with exit code - and signal -. 7z is not executable
mason.nvim [Languages] ~
- WARNING Go: not available
- ADVICE:
- spawn: go failed with exit code - and signal -. go is not executable
- WARNING cargo: not available
- ADVICE:
- spawn: cargo failed with exit code - and signal -. cargo is not executable
- WARNING luarocks: not available
- ADVICE:
- spawn: luarocks failed with exit code - and signal -. luarocks is not executable
- WARNING Ruby: not available
- ADVICE:
- spawn: ruby failed with exit code - and signal -. ruby is not executable
- WARNING RubyGem: not available
- ADVICE:
- spawn: gem.cmd failed with exit code - and signal -. gem.cmd is not executable
- WARNING Composer: not available
- ADVICE:
- spawn: composer.bat failed with exit code - and signal -. composer.bat is not executable
- WARNING PHP: not available
- ADVICE:
- spawn: php failed with exit code - and signal -. php is not executable
- WARNING npm: not available
- ADVICE:
- spawn: npm.cmd failed with exit code - and signal -. npm.cmd is not executable
- WARNING node: not available
- ADVICE:
- spawn: node failed with exit code - and signal -. node is not executable
- WARNING javac: not available
- ADVICE:
- spawn: javac failed with exit code - and signal -. javac is not executable
- WARNING julia: not available
- ADVICE:
- spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.11.7
`
- WARNING pip: not available
- ADVICE:
- spawn: python failed with exit code 1 and signal 0. C:\msys64\ucrt64\bin\python.exe: No module named pip
- OK java: `java version "1.8.0_371"
`
- OK python venv: `Ok`
mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: 04/05/2024 19:02:08.
Install and authenticate via gh-cli to increase rate limit.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. I can't seem to get mason to install correctly. I have no idea why, I can't find this issue anywhere and I would like some help! I've pasted my checkhealth below. Mason is used with mason-lspconfig.nvim and nvim-lspconfig as shown also below, I'm using lazy to load the .lua file from a plugin directory. All other plugins work find and lazy shows no installation errors. I can't get any Mason command to work! I'm using the latest version for everything.
lsp.lua
checkhealth mason:
Beta Was this translation helpful? Give feedback.
All reactions