简体   繁体   English

无法安装 mix

[英]Cannot install mix

I have followed the instruction below: https://elixir-lang.org/install.html我已按照以下说明进行操作: https://elixir-lang.org/install.html

but when i try to execute mix I see these errors:但是当我尝试执行mix我看到这些错误:

╰─❯ mix --help
** (Mix) The task "deps.loadpaths" could not be found

and

╰─❯ mix new app
** (Mix) Application name must start with a letter and have only lowercase letters, numbers and underscore, got: "app". The application name is inferred from the path, if you'd like to explicitly name the application then use the "--app APP" option.

How can I fix it?我该如何解决?

You probably have incompatible Erlang/Elixir versions.你可能有不兼容的 Erlang/Elixir 版本。

Installing with asdf is probably the most reliable way.使用 asdf 安装可能是最可靠的方法。

Make sure you read the "Before asdf install " section of the Erlang asdf plugin.确保您阅读了 Erlang asdf 插件的“ asdf install之前”部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM