Hi, after compiling my application,
Everytime i launched the compile version i end up with the error “UndefinedFunctionError) function Phoenix.Endpoint.Supervisor.start_link/2 is undefined (module Phoenix.Endpoint.Supervisor is not available)”.
i’m quite the beginner at elixir but i think i might be missing a dependency,
although when i run the application with iex this doesn’t happens.
Here is my mix file
defmodule RuntimeInterface.MixProject do
use Mix.Project
def project do
[
app: :runtime_interface,
version: "0.2.0",
build_path: "../../_build",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.5",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
[
mod: {RuntimeInterface.Application, []},
applications: [
:corsica
],
extra_applications: [
:ex_aws,
:logger,
:poison,
:runtime_tools,
:sweet_xml
]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Specifies your project dependencies.
#
# Type `mix help deps` for examples and options.
defp deps do
[
{:corsica, "~> 1.0"},
{:bcrypt_elixir, "~> 2.0.3"},
{:comeonin, "~> 5.1.2"},
{:ex_aws, "~> 2.1"},
{:ex_aws_s3, "~> 2.0"},
{:gettext, "~> 0.11"},
{:guardian, "~> 1.0"},
{:jason, "~> 1.0"},
{:phoenix, "~> 1.4.7"},
{:phoenix_html, "~> 2.11"},
{:phoenix_live_reload, "~> 1.2", only: :dev},
{:phoenix_pubsub, "~> 1.1"},
{:poison, "~> 3.1.0"},
{:plug_cowboy, "~> 2.0"},
{:sweet_xml, "~> 0.6"},
{:pubisubis, in_umbrella: true},
{:solver, in_umbrella: true},
{:chocapix, in_umbrella: true}
]
end
If anybody could help, it would be the most welcome,
Nicely,
newbie