Hello everyone! So my builds suddenly stopped working, but I’m not sure why. It fails during
mix deps.get in the dockerfile (which I find really odd). Here is the error message that I receive and here is the exact commit which caused it to fail.
* Getting phoenix (Hex package) ** (UndefinedFunctionError) undefined function: Mix.State.get/2 (module Mix.State is not available) Mix.State.get(:debug, false) (hex) lib/hex/shell.ex:22: Hex.Shell.debug/1 (hex) lib/hex/scm.ex:125: Hex.SCM.update/1 (hex) lib/hex/scm.ex:196: Hex.SCM.checkout/1 (mix) lib/mix/dep/fetcher.ex:64: Mix.Dep.Fetcher.do_fetch/3 (mix) lib/mix/dep/converger.ex:154: Mix.Dep.Converger.all/8 (mix) lib/mix/dep/converger.ex:47: Mix.Dep.Converger.converge/4 (mix) lib/mix/dep/fetcher.ex:16: Mix.Dep.Fetcher.all/3 The command "mix deps.get" failed and exited with 1 during .
I’m thinking it could be a number of potential things.
- I removed the entire .elixir_ls folder from git (I read online that this is fine)
- I used the Timex library inside of the xxx_web - view function. But that seems odd
What’s weird is that everything works 100% fine on local, it’s just failing during this step and I can’t find any information as to why.
Aside from that, I really can’t figure out why. Any help is greatly appreciated.