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 manually reviewed logs to find potential errors
Yes
I've recently downloaded the latest plugin version of mason.nvim
Yes
Problem description
I'm using nvim v0.10.1 on Windows 11 Pro x64. I've got mason installed along with mason-lspconfig and other plugins to enable LSPs for the languages I daily use. Most of them work just fine. But every time I open up mason with :Mason and try to install the awk-language-server, I end up with the following error showing up on the mason floating window.
◍ awk-language-server
▶ # [97/97] spawn: npm.cmd failed with exit code 1 and signal 0.
If I check the mason logs using :MasonLog, here's all I see:
[INFO 10/10/2024 22:01:02] ...m-data/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=awk-language-server) {} [ERROR 10/10/2024 22:01:09] ...m-data/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=awk-language-server) error=spawn: npm.cmd failed with exit code 1 and signal 0.
I don't know how to fix this. Any ideas?
Expected behavior
I expect the awk-language-server LSP to be installed just like html, lua, pyright, and so many other LSPs did just fine.
Steps to reproduce
Issue the :Mason command to open the plugin UI.
Move the cursor down to the awk-language-server line and hit the 'I' key to install.
Affected packages
awk-language-server
Neovim version (>= 0.7)
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info
Operating system/version
Windows 11 Pro x64
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-10-11-giant-motorcycle` 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.21.4 built on mingw32.
`
- OK curl: `curl 8.9.1 (Windows) libcurl/8.9.1 Schannel zlib/1.3 WinIDN
`
- OK gzip: `gzip 1.3.12
`
- OK tar: `bsdtar 3.7.2 - libarchive 3.7.2 zlib/1.2.5.f-ipp liblzma/5.4.3 bz2lib/1.0.8 libzstd/1.5.4
`
- OK pwsh: `7.4.5 Microsoft Windows 10.0.22631 Win32NT
`
- OK 7z: `7-Zip (a) 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
`
mason.nvim [Languages] ~
- WARNING cargo: not available
- ADVICE:
- spawn: cargo failed with exit code - and signal -. cargo 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
- OK Go: `go version go1.23.2 windows/amd64`
- OK Ruby: `ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x64-mingw-ucrt]
`
- WARNING javac: not available
- ADVICE:
- spawn: javac failed with exit code - and signal -. javac is not executable
- OK node: `v22.9.0
`
- WARNING julia: not available
- ADVICE:
- spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.12.2
`
- OK java: `java version "1.8.0_421"
`
- OK pip: `pip 24.2 from C:\Python312\Lib\site-packages\pip (python 3.12)
`
- WARNING luarocks: unsupported version `luarocks 2.0.2
`
- ADVICE:
- Luarocks version must be >= 3.0.0.
- OK RubyGem: `3.5.16
`
- OK npm: `10.8.3`
- OK python venv: `Ok`
mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 4. Remaining: 56. Limit: 60. Reset: 10/10/2024 22:07:16.
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:
Oh, and I meant to add but forgot that I can easily install the awk-language-server using npm at the command line either globally or normally without an error.
I suppose I should also add that Mason refuses to recognize the awk-language-server even when I've installed it manually. It keeps insisting it's not installed. I have subsequently learned that I could manually install it with the very command that Mason says fails for some unknown reason, then add just a bit of config to my nvim-lspconfig setup.
I've searched open issues for similar requests
I've manually reviewed logs to find potential errors
I've recently downloaded the latest plugin version of mason.nvim
Problem description
I'm using nvim v0.10.1 on Windows 11 Pro x64. I've got mason installed along with mason-lspconfig and other plugins to enable LSPs for the languages I daily use. Most of them work just fine. But every time I open up mason with
:Mason
and try to install theawk-language-server
, I end up with the following error showing up on the mason floating window.◍ awk-language-server
▶ # [97/97] spawn: npm.cmd failed with exit code 1 and signal 0.
If I check the mason logs using
:MasonLog
, here's all I see:[INFO 10/10/2024 22:01:02] ...m-data/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=awk-language-server) {} [ERROR 10/10/2024 22:01:09] ...m-data/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=awk-language-server) error=spawn: npm.cmd failed with exit code 1 and signal 0.
I don't know how to fix this. Any ideas?
Expected behavior
I expect the awk-language-server LSP to be installed just like html, lua, pyright, and so many other LSPs did just fine.
Steps to reproduce
:Mason
command to open the plugin UI.Affected packages
awk-language-server
Neovim version (>= 0.7)
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info
Operating system/version
Windows 11 Pro x64
Healthcheck
Screenshots or recordings
No response
The text was updated successfully, but these errors were encountered: