【问题标题】:Cannot install mix无法安装 mix
【发布时间】:2021-05-06 23:30:30
【问题描述】:

我已按照以下说明进行操作: 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.

我该如何解决?

【问题讨论】:

  • ???? which elixirwhich mix 的输出是什么?
  • 还有elixir --version

标签: elixir elixir-mix


【解决方案1】:

您可能有不兼容的 Erlang/Elixir 版本。

使用 asdf 安装可能是最可靠的方式。

请务必阅读 Erlang asdf 插件的“asdf install 之前”部分。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-07-22
    • 2018-04-07
    • 2018-01-03
    • 1970-01-01
    • 2019-04-29
    • 2016-01-26
    • 2021-07-26
    相关资源
    最近更新 更多