peburrows / diplomat

Elixir library for interacting with Google's Cloud Datastore
94 stars 22 forks source link

Protobuf.Parser.ParserError: [missing_occurrence, ...] #53

Closed wronfim closed 3 years ago

wronfim commented 3 years ago

I recently started to get a mix deps.compile error without changing any major package version.

==> diplomat
Compiling 10 files (.ex)

== Compilation error in file lib/diplomat.ex ==
** (Protobuf.Parser.ParserError) [missing_occurrence, missing_occurrence, missing_occurrence, missing_occurrence]
    lib/exprotobuf/parser.ex:101: Protobuf.Parser.parse!/3
    (elixir) lib/enum.ex:2986: Enum.flat_map_list/2
    lib/exprotobuf/parser.ex:8: Protobuf.Parser.parse_files!/2
    lib/exprotobuf.ex:194: Protobuf.parse/2
    expanding macro: Protobuf.__using__/1
    lib/diplomat.ex:10: Diplomat.Proto (module)
    (elixir) expanding macro: Kernel.use/2
    lib/diplomat.ex:10: Diplomat.Proto (module)

could not compile dependency :diplomat, "mix compile" failed. You can recompile this dependency with "mix deps.compile diplomat", update it with "mix deps.update diplomat" or clean it with "mix deps.clean diplomat"

Version details: Elixir : 1.8 Erlang: Erlang/OTP 20.1 Diplomat: 0.12.1

Any help will be appreciated. Thanks