无法安装组合
Cannot install mix
我已按照以下说明进行操作:
https://elixir-lang.org/install.html
但是当我尝试执行 mix
时,我看到了这些错误:
╰─❯ mix --help
** (Mix) The task "deps.loadpaths" could not be found
和
╰─❯ 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.
我该如何解决?
您的 Erlang/Elixir 版本可能不兼容。
使用 asdf 安装可能是最可靠的方法。
- https://github.com/asdf-vm/asdf
- https://github.com/asdf-vm/asdf-erlang
- https://github.com/asdf-vm/asdf-elixir
确保您阅读了 Erlang asdf 插件的“asdf install
之前”部分。
我已按照以下说明进行操作: https://elixir-lang.org/install.html
但是当我尝试执行 mix
时,我看到了这些错误:
╰─❯ mix --help
** (Mix) The task "deps.loadpaths" could not be found
和
╰─❯ 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.
我该如何解决?
您的 Erlang/Elixir 版本可能不兼容。
使用 asdf 安装可能是最可靠的方法。
- https://github.com/asdf-vm/asdf
- https://github.com/asdf-vm/asdf-erlang
- https://github.com/asdf-vm/asdf-elixir
确保您阅读了 Erlang asdf 插件的“asdf install
之前”部分。