Error loading module `Elixir.GoogleApi.Compute.V1.Model.HTTPHealthCheck`
florinpatrascu opened this issue · 2 comments
Hi there,
There are two source modules:
clients/compute/lib/google_api/compute/v1/model/http_health_check.ex
clients/compute/lib/google_api/compute/v1/model/http_health_check_1.ex
and both of them define Poison decoder functions: GoogleApi.Compute.V1.Model.HttpHealthCheck
, except that one of them defines it as: GoogleApi.Compute.V1.Model.HttpHealthCheck
, see: http_health_check_1.ex
and the other one defines it as: GoogleApi.Compute.V1.Model.HTTPHealthCheck
; the clients/compute/lib/google_api/compute/v1/model/http_health_check.ex
, respectively. This will raise the following error:
[error] beam/beam_load.c(1440): Error loading module 'Elixir.GoogleApi.Compute.V1.Model.HTTPHealthCheck':
BEAM file exists but it defines a module named Elixir.GoogleApi.Compute.V1.Model.HttpHealthCheck
Environment details
OS: mac OS (BigSur)
Hex: 0.21.2
Elixir: 1.11.4
OTP: 23.3.4.4
Any ways to resolve this? We're hitting this issue when running a created release @florinpatrascu
This should probably be addressed soon as it breaks on Elixir 1.17 for both case-sensitive and case-insensitive file systems and makes the google_api_compute
unusable since it breaks releases.
Even though this worked fine for 1.16, it is not considered Elixir's issue: