-
Notifications
You must be signed in to change notification settings - Fork 602
Description
Hi,
I am encountering this error in Windows 7 with most current master on Elixir (VERSION=0.12.2-dev) .
I ran in the Windows Command Shell prompt:
mix new test_plug
cd test_plug
modified mix.exs to have the following snippets:
def application do
[ applications: [:cowboy, :plug],
mod: { TestPlug, [] }]
enddefp deps do
[ { :cowboy, github: "extend/cowboy" },
{ :plug, github: "elixir-lang/plug" } ]
end
then ran:
mix deps.get
And get the following error:
== Compilation failed ==
Compilation failed on the following files:
- lib/plug/adapters/cowboy/connection.ex is missing module :cowboy_req
- lib/plug/adapters/cowboy/handler.ex is missing module :cowboy_req
The first failure is shown below...
== Compilation error on file lib/plug/adapters/cowboy/connection.ex ==
could not compile dependency plug, mix compile failed. You can recompile this dependency with mix deps.compile plug or update it with mix deps.update plug
** (CompileError) deps/plug/lib/plug/adapters/cowboy/connection.ex:5: module :cowboy_req is not loaded and could not be found
(elixir) src/elixir_exp.erl:95: :elixir_exp.expand/2
(stdlib) lists.erl:1339: :lists.mapfoldl/3
(stdlib) lists.erl:1340: :lists.mapfoldl/3
(elixir) src/elixir_exp.erl:43: :elixir_exp.expand/2
(elixir) src/elixir.erl:150: :elixir.quoted_to_erl/3
Thanks!
Tina