PhoenixInAction / phoenix-in-action

Code snippets and examples from the book Phoenix in Action from Manning and Geoffrey Lessel
106 stars 27 forks source link

auction_umbrella/apps/auction/config/config.exs does not exist #4

Open tutcake opened 2 years ago

tutcake commented 2 years ago

I followed your book, everything was going well till page no 121. In the 5th paragraph, you say config.exs exists in auction_umbrella/apps/auction/config/ but it doesnt exist at all. I am stuck here and need help.

I am using elixir 1.13.0 and erlang/OTP 24. I tried downloading the config folder from this repo and keep in auction_web but still it doesnt work.

I tried to downloading ch6 folder from this repo and start from there, but when I run mix ecto.create, I get an error

`warning: could not find Ecto repos in any of the apps: [:auction, :auction_web].

You can avoid this warning by passing the -r flag or by setting the
repositories managed by those applications in your config/config.exs:

    config :auction, ecto_repos: [...]`
tutcake commented 2 years ago

@geolessel please help

cesc1989 commented 3 weeks ago

Same. Got blocked by this same error message.