Skip to content

Category: 未分类

protoc: exec: “protoc-min-version”: executable file not found in $PATH

My local environment use gvm to support working with different go version.

I check the $GOPATH and see where the package(protoc-min-version) is installed.

Then switch to the right version.My system go version is 1.17 and I have a gvm go version 1.17, there some mistake. When I switch to go 1.16, the error is gone.