$ mix new foo
$ cd foo
$ iex -S mix
showed
Erlang/OTP 25 [erts-13.1.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]
** (SyntaxError) /home/user/.asdf/shims/mix:3:17: syntax error before: '.'
|
3 | exec /home/user/.asdf/bin/asdf exec "mix" "$@" # asdf_allow: ' asdf '
| ^
(elixir 1.13.0) lib/code.ex:1183: Code.require_file/2
iex works fine.
what happened to me?