-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
mix igniter.gen.task my_lib.install fails with UndefinedFunctionError when igniter accidentally installed as dependency #191
Comments
Very strange, I used this just yesterday! That kind of failure typically comes from some kind of problem with compilation or dependencies etc. not sure why it would happen. Can you try things like removing your |
Force compiling deps, clearing _build, nothing. I wonder if I have a bad archive installed..
|
Even with updated archive and just a plain |
Very weird. What does |
I even tried using elixir |
Maybe I done did a crime with igniter-0.3.34 at one point? |
✅ |
Oh, wow yeah that would do it. Since archives are installed without dependencies, that would cause the mix tasks from igniter to be installed globally and then not find dependencies when run. I'm actually going to reopen this, because I think that |
Describe the bug
Building a library and wanting to use Igniter to inject some config I wanted to make a task and saw the provided generator. It fails with an error.
To Reproduce
Using Igniter 0.5.8 and having run a mix deps.compile:
Expected behavior
I thought it would work <3
** Runtime
Elixir version: 1.17.2
Erlang version: 27.0.1
OS: Linux/Ubuntu
Igniter version: 0.5.8
The text was updated successfully, but these errors were encountered: