我可以使用命令“iex”进入 iex 模式,但在我的伞形项目中,我得到的是asdf: No version set for command mix
.
➜ ~ iex
Erlang/OTP 21 [erts-10.3] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe]
Interactive Elixir (1.8.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>
但在项目中:
➜ ticket_service git:(get-tickets-count-166053245) iex
asdf: No version set for command iex
you might want to add one of the following in your .tool-versions file:
elixir 1.8.2-otp-21
➜ ticket_service git:(get-tickets-count-166053245) mix compile
asdf: No version set for command mix
you might want to add one of the following in your .tool-versions file:
elixir 1.8.2-otp-21
顺便说一句,该项目是从我的 github 存储库中克隆的,我什至可以创建一个新的伞式项目并在我的项目之外的任何地方运行 mix 推荐。好像asdf
配置没有在项目中生效。