Fl4m3Ph03n1x
Background
I have an umbrella app and I am trying to add a phoenix app inside of it. However, When I run the mix command to create a phoenix umbrella app, I get an error I don’t understand.
Problem
I have an umbrella app with the following structure:
market_manager
|_apps
|_ app1
|_ app2
I want to add another umbrella app to my apps folder, a phx_test_app.
To do so I am running mix phx.new.web phx_test --live --no-ecto inside of my apps folder. However I get the following error:
λ mix phx.new.web test --no-ecto
** (Mix) Could not find "use Mix.Config" or "import Config" in "c:/Users/palme/Documents/GitHub/market_manager/config/config.exs"
To me this is confusing, as this is contents of the file in question:
import Config
import_config "#{Mix.env()}.exs"
So I definitely have the one thing the error says I am missing.
Questions
Why am I having this error and how can I fix it?
For those of you curious enough, this is the project in question:
https://github.com/Fl4m3Ph03n1x/market_manager/tree/dev
Trending in Questions
Hi all,
I’m working on a Phoenix project where I need to make external HTTP requests and I’m trying to choose between Req and HTTPoison....
New
I’m very new to Elixir, so sorry if this is a silly question:
I am wondering what happens to the mailbox of a process when the machine i...
New
Hello everyone!
I am new to coding with Elixir/Erlang. And i am looking for some utilities for fuzzing testing like AFL++.
Does anyone ...
New
How do I tell Hologram not to escape HTML when substituting into templates?
{Textile.render(@product.long_description)}
escapes the HTM...
New
Background
When trying to execute mix release on a Windows 11 machine for a Phoenix project I get the following error:
* assembling mark...
New
I’d like to create a file with 600 permissions (rw-------), but there’s a race condition if I create it and then change the permissions. ...
New
Is there a way to import record definitions in the iex shell for pretty printing (similar to the rr command in the erl shell)? This woul...
New
Other Trending Topics
Hey there,
I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first.
...
New
Hi everyone :waving_hand:
I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly)
AI dream has many faces, but general...
New
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #elixirconf-us
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #security
- #elixirconf-eu
- #processes
- #api
- #forms
- #hex











Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
LostKobrakai
Try updating
phx.new. I had no problem running your command on the cloned repo on both master and dev branch.Fl4m3Ph03n1x
How do I do that ?
LostKobrakai
Fl4m3Ph03n1x
Even after updating, it still fails.
I have also deleted my project and cloned it from zero again in hopes it would fix the issue, but alas, I was not that lucky:
kokolegorille
Try to remove the old installer before adding the new one…
You get the list with
You remove with
Then install the new one.
Fl4m3Ph03n1x
Still failing:
Could it be because I am using Windows?
kokolegorille
It works on my Linux machine with same versions…
But I cannot tell for windows setup.
Fl4m3Ph03n1x
Should I report this issue somewhere else ?
Is there an official phoenix channel where issues like this can get more attention?
LostKobrakai
If it’s a bug (which it seems to be) then the github repo is the right place.
Fl4m3Ph03n1x
https://github.com/phoenixframework/phoenix_live_view
This one, right ?