https://linen.dev logo
Issues installing on windows
# help
l
I have installed Protoc via chocolately on Windows, however when I go to add shuttle to my project I get the following error
g
Make sure
protoc
is on your PATH. You might have to restart your shell.
l
Where does protoc install to?
g
Did you install with choco?
l
Yeah
g
I would assume choco fixes PATH for you tho.. but you can double check
l
Ah ok perfect
So I'd want to set this in my path?
g
Hopefully there is a folder in choco called
bin
somewhere
Does
C:\ProgramData\chocolatey\bin
exist?
l
Yeah
Ah yes and thats where protoc is
g
It would surprise me if that folder is not already on PATH after installing choco
l
Good point
I added it anyway but it still didn't recognize protoc
g
did you restart the shell?
l
Yeah
Ah wait
Ran it from an admin powershell and it worked
ig I might have to just restart vscode fully
Actually no still doesn't recognize it
g
Yeah, VS Code integrated shell is a subprocess of a hidden shell process, so restarting it inside of VSC does not work, VSC needs to restart for it to reload 🙂
l
Ah yeah
Makes sense
2 Views