Please help how to solved this,
Compiling 71 files (.ex)
error: undefined function error/1 (expected MyappWeb.UserRegistrationLive to define such a function or for it to be imported, but none are available)
│
30 │ <.error :if={@check_errors}>
│ ^^^^^
│
└─ lib/myapp_web/live/user_registration_live.ex:30:9: MyappWeb.UserRegistrationLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserSettingsLive to define such a function or for it to be imported, but none are available)
│
41 │ <.simple_form
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_settings_live.ex:41:9: MyappWeb.UserSettingsLive.render/1
error: undefined function error/1 (expected MyappWeb.UserResetPasswordLive to define such a function or for it to be imported, but none are available)
│
17 │ <.error :if={@form.errors != []}>
│ ^^^^^
│
└─ lib/myapp_web/live/user_reset_password_live.ex:17:9: MyappWeb.UserResetPasswordLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserForgotPasswordLive to define such a function or for it to be imported, but none are available)
│
14 │ <.simple_form for={@form} id="reset_password_form" phx-submit="send_email">
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_forgot_password_live.ex:14:7: MyappWeb.UserForgotPasswordLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserConfirmationInstructionsLive to define such a function or for it to be imported, but none are available)
│
14 │ <.simple_form for={@form} id="resend_confirmation_form" phx-submit="send_instructions">
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_confirmation_instructions_live.ex:14:7: MyappWeb.UserConfirmationInstructionsLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserLoginLive to define such a function or for it to be imported, but none are available)
│
18 │ <.simple_form for={@form} id="login_form" action={~p"/users/log_in"} phx-update="ignore">
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_login_live.ex:18:7: MyappWeb.UserLoginLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserConfirmationLive to define such a function or for it to be imported, but none are available)
│
11 │ <.simple_form for={@form} id="confirmation_form" phx-submit="confirm_account">
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_confirmation_live.ex:11:7: MyappWeb.UserConfirmationLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserRegistrationLive to define such a function or for it to be imported, but none are available)
│
21 │ <.simple_form
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_registration_live.ex:21:7: MyappWeb.UserRegistrationLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserResetPasswordLive to define such a function or for it to be imported, but none are available)
│
11 │ <.simple_form
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_reset_password_live.ex:11:7: MyappWeb.UserResetPasswordLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserSettingsLive to define such a function or for it to be imported, but none are available)
│
16 │ <.simple_form
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_settings_live.ex:16:9: MyappWeb.UserSettingsLive.render/1
== Compilation error in file lib/myapp_web/live/user_login_live.ex ==
** (CompileError) lib/myapp_web/live/user_login_live.ex: cannot compile module MyappWeb.UserLoginLive (errors have been logged)
I just follow steps in
I try to delete entire folder live to find another error above then type mix phx.server, another error showing below :
Compiling 64 files (.ex)
error: undefined function gettext/1 (expected MyappWeb.Layouts to define such a function or for it to be imported, but none are available)
│
90 │ {gettext("Hang in there while we get back on track")}
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
└─ lib/myapp_web/components/layouts.ex:90: MyappWeb.Layouts."flash_group (overridable 1)"/1
error: undefined function gettext/1 (expected MyappWeb.Layouts to define such a function or for it to be imported, but none are available)
│
85 │ title={gettext("Something went wrong!")}
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
└─ lib/myapp_web/components/layouts.ex:85: MyappWeb.Layouts."flash_group (overridable 1)"/1
error: undefined function gettext/1 (expected MyappWeb.Layouts to define such a function or for it to be imported, but none are available)
│
78 │ {gettext("Attempting to reconnect")}
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
└─ lib/myapp_web/components/layouts.ex:78: MyappWeb.Layouts."flash_group (overridable 1)"/1
error: undefined function gettext/1 (expected MyappWeb.Layouts to define such a function or for it to be imported, but none are available)
│
73 │ title={gettext("We can't find the internet")}
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
└─ lib/myapp_web/components/layouts.ex:73: MyappWeb.Layouts."flash_group (overridable 1)"/1
== Compilation error in file lib/myapp_web/components/layouts.ex ==
** (CompileError) lib/myapp_web/components/layouts.ex: cannot compile module MyappWeb.Layouts (errors have been logged)