I’m seeing an error when I try to run iex -S mix phx.server after a fresh mix phx.new:
○ iex -S mix phx.server
Erlang/OTP 21 [erts-10.2.5] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]
Unchecked dependencies for environment dev:
* cowlib (Hex package)
the dependency does not match the requirement "~> 2.7.2", got "2.7.0"
** (Mix) Can't continue due to errors on dependencies
I checked the dependencies, and from what I can tell, it seems like cowlib 2.7.2 is installed (not 2.7.0).
I’m new to Elixir + Phoenix and am running into this issue. Any idea how to get around this after running mix ecto.create? Not sure what dependency file to change.
It’s working for me right now. Can you check if you’re on the latest version of the phx.new task? It should look like this:
$ mix phx.new -v
Phoenix v1.4.6
If you’re on an older version can you retry again on the latest after running mix archive.install hex phx_new 1.4.6 (from Installation — Phoenix v1.8.8)