elixir-pre-commit icon indicating copy to clipboard operation
elixir-pre-commit copied to clipboard

pre-commit application is not available

Open nelsonic opened this issue 6 years ago • 2 comments

I just git cloned the https://github.com/dwyl/elixir-auth-github project and ran mix deps.get followed by mix test and got the following warning/error:

image

You have configured application :pre_commit in your configuration file,
but the application is not available.

This usually means one of:

  1. You have not added the application as a dependency in a mix.exs file.

  2. You are configuring an application that does not really exist.

Please ensure :pre_commit exists or remove the configuration.

We may need to add additional setup instructions to this project. 💭

nelsonic avatar Dec 26 '19 11:12 nelsonic

I just stumbled onto this... Is there any hint on where the problem may be, and how I could attempt to fix it ?

asmodehn avatar Feb 18 '21 08:02 asmodehn

replace :pre commit with your app name

config :your_app_name, commands: ["test"]

RicardoSantos-99 avatar Oct 01 '22 01:10 RicardoSantos-99