started learning elixir 2 days ago, and i am having issues trying to install a new dep. In theory i just should write it in mix.exs file and then run in console mix deps.get, right?
when is like this. its ok
defp deps do
[
{:phoenix, “~> 1.6.15”},
{:phoenix_ecto, “~> 4.4”},
{:ecto_sql, “~> 3.6”},
{:postgrex, “>= 0.0.0”},
{:phoenix_live_dashboard, “~> 0.6”},
{:esbuild, “~> 0.4”, runtime: Mix.env() == :dev},
{:swoosh, “~> 1.3”},
{:telemetry_metrics, “~> 0.6”},
{:telemetry_poller, “~> 1.0”},
{:gettext, “~> 0.18”},
{:jason, “~> 1.2”},
{:plug_cowboy, “~> 2.5”}
]
end
when i do this
defp deps do
[
{:phoenix, “~> 1.6.15”},
{:phoenix_ecto, “~> 4.4”},
{:ecto_sql, “~> 3.6”},
{:postgrex, “>= 0.0.0”},
{:phoenix_live_dashboard, “~> 0.6”},
{:esbuild, “~> 0.4”, runtime: Mix.env() == :dev},
{:swoosh, “~> 1.3”},
{:telemetry_metrics, “~> 0.6”},
{:telemetry_poller, “~> 1.0”},
{:gettext, “~> 0.18”},
{:jason, “~> 1.2”},
{:plug_cowboy, “~> 2.5”},
{:argon2_elixir, “~> 3.0”}
]
end
defmodule gets a red underscore
edit: the underscore error remains also when i run mix deps.get. I checked in dep folder and the dependecy is installed.