简体   繁体   中英

Cannot install mix

I have followed the instruction below: https://elixir-lang.org/install.html

but when i try to execute mix I see these errors:

╰─❯ 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.

Installing with asdf is probably the most reliable way.

Make sure you read the "Before asdf install " section of the Erlang asdf plugin.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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