-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Description
Basically what the title says, if it's just Html
the mix phx.serve
returns an error of not providing index
template.
Logs of Error without HTML
[error] ** (ArgumentError) no "index" html template defined for WordleWeb.HelloHTML (the module does not exist)
(phoenix_template 1.0.4) lib/phoenix/template.ex:248: Phoenix.Template.render_with_fallback/4
(phoenix_template 1.0.4) lib/phoenix/template.ex:197: Phoenix.Template.render_within_layout/4
(phoenix 1.7.21) lib/phoenix/controller.ex:1000: anonymous fn/5 in Phoenix.Controller.template_render/4
(telemetry 1.3.0) /home/ladas552/Projects/my_repos/wordle-phoenix/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3
(phoenix 1.7.21) lib/phoenix/controller.ex:987: Phoenix.Controller.render_with_layouts/4
(phoenix 1.7.21) lib/phoenix/controller.ex:974: Phoenix.Controller.render_and_send/4
lib/wordle_web/controllers/hello_controller.ex:1: WordleWeb.HelloController.action/2
lib/wordle_web/controllers/hello_controller.ex:1: WordleWeb.HelloController.phoenix_controller_pipeline/2
(phoenix 1.7.21) lib/phoenix/router.ex:484: Phoenix.Router.__call__/5
(wordle 0.1.0) lib/wordle_web/endpoint.ex:1: WordleWeb.Endpoint.plug_builder_call/2
(wordle 0.1.0) deps/plug/lib/plug/debugger.ex:155: WordleWeb.Endpoint."call (overridable 3)"/2
(wordle 0.1.0) lib/wordle_web/endpoint.ex:1: WordleWeb.Endpoint.call/2
(phoenix 1.7.21) lib/phoenix/endpoint/sync_code_reload_plug.ex:22: Phoenix.Endpoint.SyncCodeReloadPlug.do_call/4
(bandit 1.7.0) lib/bandit/pipeline.ex:131: Bandit.Pipeline.call_plug!/2
(bandit 1.7.0) lib/bandit/pipeline.ex:42: Bandit.Pipeline.run/5
(bandit 1.7.0) lib/bandit/http1/handler.ex:13: Bandit.HTTP1.Handler.handle_data/3
(bandit 1.7.0) lib/bandit/delegating_handler.ex:18: Bandit.DelegatingHandler.handle_data/3
(bandit 1.7.0) lib/bandit/delegating_handler.ex:8: Bandit.DelegatingHandler.handle_info/2
(stdlib 6.2.2.1) gen_server.erl:2345: :gen_server.try_handle_info/3
(stdlib 6.2.2.1) gen_server.erl:2433: :gen_server.handle_msg/6
Environment:
elixir --version:
Erlang/OTP 27 [erts-15.2.7] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns]
Elixir 1.18.4 (compiled with Erlang/OTP 27)
Phoenix: 1.7.21
elixir-ls: 0.28.1
I am using Helix editor on NixOS unstable, so versions can be not as up to date
Metadata
Metadata
Assignees
Labels
No labels