Mix found dependencies declared in mix.exs that are not present in deps/. They were never fetched, or the lockfile changed without a re-fetch, so Mix refuses to continue.
What this error means
A mix compile, mix test, or release task fails immediately with "Unchecked dependencies for environment <env>", listing the deps and telling you to run mix deps.get. Nothing compiles because the deps are missing.
mix output
** (Mix) Unchecked dependencies for environment prod:
* jason (Hex package)
the dependency is not available, run "mix deps.get"
Common causes
Dependencies not fetched in this environment
A CI step ran mix compile without first running mix deps.get for that MIX_ENV, so deps/ is empty for it.
Lockfile changed without a re-fetch
A mix.lock update (new or bumped dep) was committed but mix deps.get was not re-run, so deps/ is stale relative to the lock.
How to fix it
Fetch deps for the right environment
Run mix deps.get (and set MIX_ENV) before compiling or testing.
Always run mix deps.get before compile/test in CI.
Cache deps and _build keyed on mix.lock.
Commit mix.lock so the resolved set is reproducible.
Frequently asked questions
What causes ""Unchecked dependencies""?
A CI step ran mix compile without first running mix deps.get for that MIX_ENV, so deps/ is empty for it.
How do I fix "Unchecked dependencies"?
Run mix deps.get (and set MIX_ENV) before compiling or testing.
Can Latchkey fix this automatically?
Yes. Latchkey runs your GitHub Actions on managed runners that detect this failure, apply the fix, and retry the job automatically - self-healing is on by default.