简体   繁体   中英

How to fix “** (Mix) The task ”compile.all“ could not be found” when I run `mix test`

Recently started using exercism to learn elixir and I'm running into issues using mix. I'm completely new to using this tool so I've probably missed something basic.

When I run mix test in a directory with a tests subdirectory I get an error.

** (Mix) The task "compile.all" could not be found

When I run mix deps.get or mix deps.compile I get another error

** (Mix) The task "archive.check" could not be found

What am I doing wrong here? I imagine I need to install some task somehow?

I'm expecting to run some unit tests with a pass/fail condition but an error I documented above is thrown instead.

I found out what I did wrong. I forgot to install all the dependencies.

You can find a list of the full installation process at the elixir web page

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