每当我使用“mix deps.clean”、“mix deps.get”或任何mix命令时,我都会得到以下错误:
15:18:28.936 [error] beam\beam_load.c(86): Error loading module 'Elixir.Code.Formatter':
lambda already defined for label 747. To fix this, please recompile this module with an OTP 25 compiler.
15:18:28.936 [error] Loading of c:/ProgramData/chocolatey/lib/Elixir/lib/elixir/ebin/Elixir.Code.Formatter.beam failed: :badfile
** (UndefinedFunctionError) function Code.Formatter.locals_without_parens/0 is undefined (module Code.Formatter is not available)
(elixir 1.13.3) Code.Formatter.locals_without_parens()
(elixir 1.13.3) lib/code/normalizer.ex:22: Code.Normalizer.normalize/2
(elixir 1.13.3) lib/code.ex:1107: Code.quoted_to_algebra/2
字符串
我尝试用chocolatey更新,删除和重新安装erlang和elixir,没有效果。我如何重新编译elixir模块?
谢谢你,谢谢
1条答案
按热度按时间ssgvzors1#
我有同样的问题与 Elixir 降级.对我来说的解决方案是太删除文件夹“C:\Users\USERNAME\AppData\Local\mix”.操作系统是Windows 10