Error "pbjs: command not found" in run compile protobuf js with yarn

437 Views Asked by At

I update protobufjs from 6.11.2 to 7.1.2 then when I run my compiler to compile my protobufs I got this error pbjs: command not found error Command failed with exit code 127. What shall I do ?

1

There are 1 best solutions below

0
N.SH On BEST ANSWER

I tried to add pbjs globally and it resolved. yarn global add pbjs