When I upgrade gRPC from 0.7.0 to 0.8.0, the gRPC compile fails.
I found that the PR #351 introduces priv/templates/service.ex.eex, but it isn’t added to package.
== Compilation error in file lib/grpc/protoc/generator/service.ex ==
** (File.Error) could not read file "grpc/examples/helloworld/_build/dev/lib/grpc/priv/templates/service.ex.eex": no such file or directory
(elixir 1.15.7) lib/file.ex:358: File.read!/1
(eex 1.15.7) lib/eex.ex:259: EEx.compile_file/2
lib/grpc/protoc/generator/service.ex:9: (module)
could not compile dependency :grpc, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile grpc --force", update it with "mix deps.update grpc" or clean it with "mix deps.clean grpc"
When I upgrade gRPC from
0.7.0
to0.8.0
, the gRPC compile fails. I found that the PR #351 introducespriv/templates/service.ex.eex
, but it isn’t added to package.To Reproduce
cd examples/helloworld
Change
grpc
source to hexmix deps.get && mix compile
== Compilation error in file lib/grpc/protoc/generator/service.ex == ** (File.Error) could not read file "grpc/examples/helloworld/_build/dev/lib/grpc/priv/templates/service.ex.eex": no such file or directory (elixir 1.15.7) lib/file.ex:358: File.read!/1 (eex 1.15.7) lib/eex.ex:259: EEx.compile_file/2 lib/grpc/protoc/generator/service.ex:9: (module) could not compile dependency :grpc, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile grpc --force", update it with "mix deps.update grpc" or clean it with "mix deps.clean grpc"