phoenix
phoenix copied to clipboard
problem installing on windows
Environment
- Elixir version: 1.13.4
- Erlang version: 25.0.4
- Phoenix version (mix deps): latest stable
- Operating system: Windows 11 x64
Expected behavior
mix archive.install hex phx_new installation success printed on command line -> * creating mix/archives/phx_new
Actual behavior
Error while loading project :mix_local_installer at c:/Users/hgsba/AppData/Local/Temp/mix-local-installer-fetcher-y2yQIw 08:39:38.081 [error] Loading of c:/Program Files (x86)/Elixir/lib/elixir/ebin/Elixir.Code.Formatter.beam failed: :badfile
08:39:38.081 [error] beam\beam_load.c(86): Error loading module 'Elixir.Code.Formatter': lambda already defined for label 749. To fix this, please recompile this module with an OTP 25 compiler.
** (UndefinedFunctionError) function Code.Formatter.locals_without_parens/0 is undefined (module Code.Formatter is not available) (elixir 1.13.4) Code.Formatter.locals_without_parens() (elixir 1.13.4) lib/code/normalizer.ex:22: Code.Normalizer.normalize/2 (elixir 1.13.4) lib/code.ex:1107: Code.quoted_to_algebra/2