OffgridElectric/protobuf_compiler

Error when running mix compile.proto for first time

Closed this issue · 3 comments

mix compile.proto
** (Mix) The task "escript.install hex protobuf 0.9.0" could not be found. Did you mean "escript.install"?
	  {:protobuf, "~> 0.9.0", override: true},
      {:protobuf_compiler,
       github: "OffgridElectric/protobuf_compiler",
       tag: "v0.2.0",
       only: [:dev, :test],
       runtime: false},

Workaround is to manually run mix escript.install hex protobuf 0.9.0

@DaniruKun thanks for testing and for your report.

I think the following PR fixes this issue: #13

However, I've just pushed an improvement: in case your app depend on protobuf as well as protobuf_compiler, plugin is compiled from your dep, to perfectly match compiler with library.