Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credo does not install mix tasks #915

Closed
paulbickford opened this issue Nov 18, 2021 · 2 comments
Closed

Credo does not install mix tasks #915

paulbickford opened this issue Nov 18, 2021 · 2 comments

Comments

@paulbickford
Copy link

paulbickford commented Nov 18, 2021

Environment

  • Credo version (mix credo -v): 1.6.0
  • Erlang/Elixir version (elixir -v):Erlang/OTP 24, Elixir 1.12.3 (using asdf)
  • Operating system: Ubuntu 20.04

What were you trying to do?

Install Credo. Added it to mix.exs and ran mix deps.get, which showed it was installed.

Expected outcome

I expected to be able to run mix credo

Actual outcome

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

@rrrene
Copy link
Owner

rrrene commented Nov 19, 2021

Strange. I have basically the same setup and just tested it. Can't reproduce.

If anybody has any ideas about this, please chime in 👍

@paulbickford
Copy link
Author

I restarted the machine, commented out credo from mix.exs, ran mix deps.get, added credo back into mix.exs, and ran mix deps.get ... and it worked! I guess I should have fiddled with it more before submitting the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants