error in check health core utils pwsh on windows #1599
Replies: 1 comment
-
Hey -- unsure if you solved this already, but I came across this post while having the same issue on Win10 and nvim11 (same Reading the mason/health.lua link you posted (thank you, was unsure where to look for the Mason executions other than my kickstart-forked init.lua which didn't help), I noted both the check-and-command operation ( Even though I had a user environment variable to the folder already, I added an environment variable in PATH specifically to my pwsh executable (eg I also had the thought: I'm not sure which of these solved it, but it seems to have worked, so hopefully this helps you or anyone else who comes across this post searching for a solution to this problem. |
Beta Was this translation helpful? Give feedback.
-
I'm on a Windows 11 PC running Neovim 0.9.5, with mason.nvim 1.9.0. When I run
:checkhealth
I get an error in Core utils:In the read me it says that pwsh or Powershell is required, and I do have PowerShell installed. I looked at the code tied to
:checkhealth
and to me it looks like it only checks for pwsh on windows. mason.nvim/lua/mason/health.lua line:156 This is the start of the check if platform is windows. The only two checks I can see here is for pwsh and 7z.I'm new to Neovim, sim still working out issues, at the moment this is my only error for mason.nvim, but I do have a bunch of warnings.
Beta Was this translation helpful? Give feedback.
All reactions