MordechaiHadad / bob

A version manager for neovim
MIT License
1.41k stars 36 forks source link

Can't install nvim using Powershell 7 #191

Open Ajaymamtora opened 5 months ago

Ajaymamtora commented 5 months ago

Whenever I try to install nvim, when using powershell 7, I get this error:

Administrator in ~
❯ bob install nightly
Apr 01 12:29:56.361 ERROR Error: Please make sure you are using Developer PowerShell/Command Prompt for VS

Is there any way to get this to work? If I select "Developer PowerShell for VS 2022" in Windows terminal and then run the command, it does work, but I want to use the new version of powershell.

MordechaiHadad commented 5 months ago

Thats a bit odd... shouldn't happen at all unless you build neovim from source which you aren't in this instance. Any steps to reproduce this? simply running windows terminal with powershell, also how exactly do i get the new ps version?

Ajaymamtora commented 5 months ago

I can't really think of anything special I did to reproduce this but it happens on my work computer that doesnt have much on it, and my own PC. Let me know if you need logs etc

This is what I did: https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4

winget install --id Microsoft.Powershell --source winget