Trying to run a phoenix.server instance using the default guidelines on the documentation. mix gets all the deps without error, no error occurs until I try to run any mix phoenix command. Am I doing something wrong here?
▶ erl --version
Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
▶ elixir --version
Elixir 1.1.1
▶ cat mix.lock
%{"cowboy": {:hex, :cowboy, "1.0.3"},
"cowlib": {:hex, :cowlib, "1.0.1"},
"decimal": {:hex, :decimal, "1.1.0"},
"ecto": {:hex, :ecto, "0.16.0"},
"fs": {:hex, :fs, "0.9.2"},
"phoenix": {:hex, :phoenix, "0.17.1"},
"phoenix_ecto": {:hex, :phoenix_ecto, "0.9.0"},
"phoenix_live_reload": {:hex, :phoenix_live_reload, "0.6.0"},
"plug": {:hex, :plug, "1.0.2"},
"poison": {:hex, :poison, "1.5.0"},
"poolboy": {:hex, :poolboy, "1.5.1"},
"postgrex": {:hex, :postgrex, "0.9.1"},
"ranch": {:hex, :ranch, "1.1.0"}}
▶ mix phoenix.server
Compiled lib/phoenix_crud.ex
Compiled web/web.ex
Compiled lib/phoenix_crud/repo.ex
== Compilation error on file lib/phoenix_crud/endpoint.ex ==
** (CompileError) lib/phoenix_crud/endpoint.ex:1: function router/2 undefined
(stdlib) lists.erl:1337: :lists.foreach/2
(stdlib) erl_eval.erl:669: :erl_eval.do_apply/6
Elixir and Erlang installed via Homebrew with default options
Trying to run a phoenix.server instance using the default guidelines on the documentation.
mixgets all the deps without error, no error occurs until I try to run anymix phoenixcommand. Am I doing something wrong here?