Eric Wilson's Blog

Experiments in engineering, life and the pursuit of a better hammer.

Eric Wilson's blog discussing Product Development and Software Engineering.

  • Blog
  • Snippets
  • About
  • Contact
  • Search

Failed to run protoc

June 19, 2021 by Eric Wilson in software

Doing some grpc work this weekend and ran into this error

failed to run protoc: exit status 1: protoc-gen-go-grpc: program not found or is not executable

Tried running an update to no avail thusly

go get -u github.com/golang/protobuf/protoc-gen-go

Finally solved it by running this

go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
June 19, 2021 /Eric Wilson
golang, osx, grpc, google, goa
software
This work is licensed under a Creative Commons License and is the private blog of Eric Wilson.
The opinions are my own and are not endorsed by my current or former employers or colleagues.
Creative Commons License