You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elixir version (elixir -v): Elixir 1.15.6 (compiled with Erlang/OTP 26)
Phoenix version (mix deps): phoenix 1.7.8
Operating system: Ubuntu 22.04.3 LTS
Actual behavior
/tmp $ mix phx.new foo --no-html --no-live --no-dashboard --no-assets
* creating foo/lib/foo/application.ex
* creating foo/lib/foo.ex
* creating foo/lib/foo_web/controllers/error_json.ex
* creating foo/lib/foo_web/endpoint.ex
* creating foo/lib/foo_web/router.ex
* creating foo/lib/foo_web/telemetry.ex
* creating foo/lib/foo_web.ex
* creating foo/mix.exs
* creating foo/README.md
* creating foo/.formatter.exs
* creating foo/.gitignore
* creating foo/test/support/conn_case.ex
* creating foo/test/test_helper.exs
* creating foo/test/foo_web/controllers/error_json_test.exs
* creating foo/lib/foo/repo.ex
* creating foo/priv/repo/migrations/.formatter.exs
* creating foo/priv/repo/seeds.exs
* creating foo/test/support/data_case.ex
* creating foo/lib/foo/mailer.ex
* creating foo/lib/foo_web/gettext.ex
* creating foo/priv/gettext/en/LC_MESSAGES/errors.po
* creating foo/priv/gettext/errors.pot
* creating foo/priv/static/robots.txt
* creating foo/priv/static/favicon.ico
Fetch and install dependencies? [Yn]
* running mix deps.get
* running mix deps.compile
We are almost there! The following steps are missing:
$ cd foo
Then configure your database in config/dev.exs and run:
$ mix ecto.create
Start your Phoenix app with:
$ mix phx.server
You can also run your app inside IEx (Interactive Elixir) as:
$ iex -S mix phx.server
/tmp $ cd foo
/tmp/foo $ mix ecto.create
Compiling 10 files (.ex)
Generated foo app
You have configured application :phoenix_live_view 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 :phoenix_live_view exists or remove the configuration.
The database for Foo.Repo has been created
/tmp/foo $
Expected behavior
there should be no warning message (which means config/dev.exs file has useless :phoenix_live_view config in a project created with --no-live option)
The text was updated successfully, but these errors were encountered:
Environment
Actual behavior
Expected behavior
there should be no warning message (which means
config/dev.exs
file has useless:phoenix_live_view
config in a project created with--no-live
option)The text was updated successfully, but these errors were encountered: