Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

Error with Erlang/OTP 25.0.2 #23

Closed
@ducdetronquito

Description

@ducdetronquito

Hi !

I wanted to give Elixir a try this weekend on my windows machine, so I installed Erlang/OTP 25.0.2 (via the windows installer), and installed Elixir (1.13.4) following the installation steps.

When trying to install the Phoenix application generator, I ran into the following error:

mix archive.install hex phx_new

Error while loading project :mix_local_installer at c:/Users/giomee/AppData/Local/Temp/mix-local-installer-fetcher-wZJPHw

12:35:31.537 [error] Loading of c:/Program Files (x86)/Elixir/lib/elixir/ebin/Elixir.Code.Formatter.beam failed: :badfile


12:35:31.528 [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

I think @josevalim answer on this issue (elixir-lang/elixir#11220 (comment)) could be the answer, but I'm not sure.

Have a nice day :)

Ps: My apologies if this issue does not belong to this repository !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions