Hi, I have an existing umbrella application that was created about 3 months ago.
Since I use
mix release, I switched from
use Mix.Config to
import Config in all of my config files. Today I wanted to create another web inside the umbrella, so I went inside the
apps folder and ran
mix phx.new.web new_web, but I got the following error:
** (Mix) Could not find "use Mix.Config" or "import Config" in "c:/git/web_umbrella/config/config.exs"
config.exs as well as the other sub-configs have the
import Config line present.
To test things out I created another umbrella, replaced all the
use Mix.Config lines with
import Config and ran
mix phx.new.web just like in the other project and it created the web just fine.
Does anybody have an idea what might be wrong with my project? Is there a way to debug the task so I can see what’s going on?
I’m currently on Elixir v1.10.2.