I ran into this the other day, trying to make a min repro case. Read https://hexdocs.pm/ecto/getting-started.html carefully, You've likely missed a step.