<#20666 unable to run pants fmt :: in pants repo u...
# github-notifications
c
#20666 unable to run pants fmt :: in pants repo unless I manually install protoc Issue created by jasonwbarnett Describe the bug I was attempting to contribute to pants and found that on both Ubuntu 22.04 (x86_64) and Mac OS 14.3.1 (M2) I was unable to run
pants fmt ::
in this repository. It continued to fail doing some work. I read the error message and saw that it was complaining about missing
protoc
. So on Mac I ran
brew install protoc
and on Ubuntu 22.04 I ran
apt install -y protobuf-compiler
and after that it worked on both platforms. Pants version N/A OS Both Linux and Mac OS pantsbuild/pants