Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning Message when installing Phoenix 1.7.19 #6069

Closed
ariandanim opened this issue Feb 4, 2025 · 1 comment
Closed

Warning Message when installing Phoenix 1.7.19 #6069

ariandanim opened this issue Feb 4, 2025 · 1 comment

Comments

@ariandanim
Copy link

ariandanim commented Feb 4, 2025

Environment

  • Elixir version (elixir -v): Elixir 1.18.2
  • Phoenix version (mix deps): Phoenix 1.7.19
  • Operating system: Windows 11 not using WSL pure Windows
  • Erlang OTP 27.2.1

Actual behavior

Resolving Hex dependencies...
Resolution completed in 0.02s
New:
  phx_new 1.7.19
* Getting phx_new (Hex package)
All dependencies are up to date
Compiling 11 files (.ex)
     warning: this clause of defp phoenix_dep/2 is never used
     │
 471 │   defp phoenix_dep("deps/phoenix", %{pre: ["dev"]}),
     │        ~
     │
     └─ lib/phx_new/generator.ex:471:8: Phx.New.Generator.phoenix_dep/2

     warning: Mix.Rebar.rebar_cmd/1 is deprecated. Use rebar_args/2 or available?/1 instead
     │
 272 │     Mix.Rebar.rebar_cmd(:rebar3)
     │               ~
     │
     └─ lib/mix/tasks/phx.new.ex:272:15: Mix.Tasks.Phx.New.rebar_available?/0

Generated phx_new app
Generated archive "phx_new-1.7.19.ez" with MIX_ENV=prod
Found existing entry: c:/Users/doom/.mix/archives/phx_new-1.7.18
Are you sure you want to replace it with "phx_new-1.7.19.ez"? [Yn] n

Expected behavior

@SteffenDE
Copy link
Contributor

Thank you for reporting! The rebar_cmd one is already fixed on main, the phoenix_dep is fixed with b1228c4. I also backported to 1.7, so it will be fixed with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants