Whenever a newer Hex version is available, there is a chance that the old version somehow breaks. The plugin then breaks on running deps.get, e.g. with the following output in the ElixirSublime.log:
A new Hex version is available (v0.10.4), please update with `mix local.hex`
Running dependency resolution
** (UndefinedFunctionError) undefined function Access.Map.get_and_update!/3 (module Access.Map is not available)
The solution is to add the following line before getting dependencies.
run_mix_task('local.hex --force')
Whenever a newer Hex version is available, there is a chance that the old version somehow breaks. The plugin then breaks on running
deps.get
, e.g. with the following output in theElixirSublime.log
:The solution is to add the following line before getting dependencies. run_mix_task('local.hex --force')
(Diff based on PR #25)