I’m trying to upgrade an old project and after following the upgrade, now when I try to run the app I get the following error.
Could not start application groovejar_app: GroovejarApp.start(:normal, []) returned an error: shutdown: failed to start child: GroovejarApp.Endpoint ** (EXIT) an exception was raised: ** (UndefinedFunctionError) function Ecto.Adapters.Postgres.child_specs/2 is undefined or private
Here’s my mix.esx file. Any idea on what I’m missing would be greatly appreciated.
`def project do
[
app: :groovejar_app,
version: “0.0.1”,
elixir: “~> 1.13.2”,
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
aliases: aliases(),
deps: deps()
]
end
defp deps do
[{:phoenix, "~> 1.5.9"},
{:phoenix_pubsub, "~> 2.0"},
{:postgrex, ">= 0.0.0"},
{:ecto, "~> 3.7.1"},
{:ecto_sql , "~>3.4"},
{:phoenix_ecto, "~> 4.0"},
{:phoenix_html, "~> 2.11"},
{:phoenix_live_reload, "~> 1.2"},
{:gettext, "~> 0.9"},
{:cowboy, "~> 2.7"},
{:plug_cowboy, "~> 2.1"},
# {:shopify, "~> 0.1.5", git: "https://github.com/overallduka/shopify.git"},
# {:shopify, "~> 0.1.5", path: "../shopify"},
{:poison, "~> 3.0", override: true},
# {:quantum, ">= 2.0.0-beta.1"},
{:timex, "~> 3.0"},
{:ex_machina, "~> 0.0", only: :test},
{:faker, "~> 0.7"},
{:httpoison, "~> 0.8.3", override: true},
{:uuid, "~> 1.1" },
{:exredis, ">= 0.2.4"},
{:telemetry, "~> 0.4"},
{:jason, "~> 1.0"},
# {:sentry, "~> 6.0"},
{:hackney, "~> 1.15", override: true}
]
end
`