Tag: 药剂

编译期间依赖项无法看到它的configuration

我正在尝试在Docker容器中打包应用程序。 它依赖于可authablehex包。 运行时: docker build –tag "testing:0.1" –file Dockerfile . …我收到以下编译错误: == Compilation error on file lib/authable/repo.ex == ** (ArgumentError) missing :adapter configuration in config :authable, Authable.Repo lib/ecto/repo/supervisor.ex:50: Ecto.Repo.Supervisor.compile_config/2 lib/authable/repo.ex:6: (module) (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6 could not compile dependency :authable, "mix compile" failed. You can recompile this dependency with "mix deps.compile authable", update it with "mix […]