$ mix archive.install github hexpm/hex branch main
which look like this:
warning: Logger.error/1 defined in application :logger is used by the current application but the current application does not depend on :logger. To fix this, you must do one of:
1. If :logger is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs
2. If :logger is a dependency, make sure it is listed under "def deps" in your mix.exs
3. In case you don't want to add a requirement to :logger, you may optionally skip this warning by adding [xref: [exclude: [Logger]]] to your "def project" in mix.exs
I noticed a bunch of warnings when running:
which look like this:
Here are all the locations we use Logger:
Since we depend on Elixir 1.5, it is safe to use :extra_applications.