lrascao / rebar3_gpb_plugin

A rebar3 plugin for automatically compiling .proto files using the gpb protobuf compiler
MIT License
54 stars 37 forks source link

compile proto error in LAN #97

Open bighunter513 opened 5 years ago

bighunter513 commented 5 years ago

I use this plugin ok when My server is connected the internet, But my company has submit code to a local network perforce depot server, after someone sync files from depot, they cann't compile proto, got the below errors:

**./rebar3 compile ===> Plugin rebar3_gpb_plugin not available. It will not be used. ===> Plugin rebar3_gpb_plugin not available. It will not be used. ===> Verifying dependencies... ===> Compiling proto_app ===> Unable to run pre hooks for 'compile', command 'compile' in namespace 'protobuf' not found. make: * [all] Error 1

the gpb-plugin src files are in _build/default/plugins/rebar3_gpb_plugin/src the gpb src files are in _build/default/plugins/gpb/src

what can I do to fix the problem ?

lrascao commented 5 years ago

you probably need to also sync the contents of _build/plugins which is where rebar3 keeps the project's plugins