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
[ERROR 03/03/2024 18:06:13] ...acker\start\mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=haskell-language-server) error=spawn: pwsh failed with exit code 1 and signal 0.
[ERROR 03/03/2024 18:06:13] ...acker\start\mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=haskell-language-server) error=spawn: pwsh failed with exit code 1 and signal 0.
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-03-03-fickle-vinyl` is installed.
mason.nvim [Core utils] ~
- WARNING unzip: not available
- ADVICE:
- spawn: unzip failed with exit code - and signal -. unzip is not executable
- WARNING wget: not available
- ADVICE:
- spawn: wget failed with exit code - and signal -. wget is not executable
- OK curl: `curl 8.4.0 (Windows) libcurl/8.4.0 Schannel WinIDN
`
- WARNING gzip: not available
- ADVICE:
- spawn: gzip failed with exit code - and signal -. gzip is not executable
- 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.1 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 julia: not available
- ADVICE:
- spawn: julia failed with exit code - and signal -. julia is not executable
- OK node: `v20.11.1
`
- OK python: `Python 3.12.2
`
- OK java: `openjdk version "11.0.16.1" 2022-08-12 LTS
`
- OK javac: `javac 11.0.16.1
`
- OK npm: `10.2.4`
- OK pip: `pip 24.0 from C:\Python312\Lib\site-packages\pip (python 3.12)
`
- OK python venv: `Ok`
mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 3. Remaining: 57. Limit: 60. Reset: 03/03/2024 18:39:06.
Install and authenticate via gh-cli to increase rate limit.
Screenshots or recordings
No response
The text was updated successfully, but these errors were encountered:
I'm running into this issue also, but in my case it's bash, not pwsh that fails: spawn: bash failed with exit code 127 and signal 0.
In my case, looking at the more-verbose output of :Mason, I see:
+ ghcup install hls 2.8.0.0 -i /home/rubin/.local/share/nvim/mason/packages/haskell-language-server
bash: line 2: ghcup: command not found
spawn: bash failed with exit code 127 and signal 0.
I indeed have no ghcup - not sure if I should or if mason should provide this.
Problem description
[ERROR 03/03/2024 18:06:13] ...acker\start\mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=haskell-language-server) error=spawn: pwsh failed with exit code 1 and signal 0.
configuration:
require("mason").setup()
require("mason-lspconfig").setup{
ensure_installed =
{
"omnisharp",
"biome",
"pyright",
"tsserver",
"lua_ls",
"vimls",
"hls"
},
automatic_installation = false,
}
require("lspconfig").lua_ls.setup {
settings = {
Lua = {
diagnostics = {
globals = {'vim'} }
}
}}
require("lspconfig").omnisharp.setup {}
require("lspconfig").biome.setup {}
require("lspconfig").pyright.setup {}
require("lspconfig").tsserver.setup {}
require("lspconfig").vimls.setup {}
require("lspconfig").hls.setup {}
Why do you think this is an issue with mason-lspconfig.nvim?
since i am not able to install a server(other server works)
Neovim version (>= 0.7)
nvim 0.9.5
Operating system/version
windows
I've manually reviewed the Nvim LPS client log (
:LspLog
) to find potential errorsI've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig
Affected language servers
hls (haskel)
Steps to reproduce
try to istanstall haskel throught mason
Actual behavior
i got an error
Expected behavior
have haskell-language-server
LspInfo
LspLog
Healthcheck
Screenshots or recordings
No response
The text was updated successfully, but these errors were encountered: