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
Added this to a app and I receive the following message.
Also tried the suggestion of adding {:phoenix_html_helpers, "~> 1.0"}. But message doesn't change.
==> live_phone
Compiling 3 files (.ex)
== Compilation error in file lib/live_phone.ex ==
** (RuntimeError) use Phoenix.HTML is no longer supported in v4.0.
To keep compatibility with previous versions, add {:phoenix_html_helpers, "~> 1.0"} to your mix.exs deps
and then, instead of "use Phoenix.HTML", you might:
import Phoenix.HTML
import Phoenix.HTML.Form
use PhoenixHTMLHelpers
(phoenix_html 4.1.1) expanding macro: Phoenix.HTML.__using__/1
lib/live_phone.ex:8: LivePhone (module)
(elixir 1.16.2) expanding macro: Kernel.use/1
lib/live_phone.ex:8: LivePhone (module)
could not compile dependency :live_phone, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile live_phone --force", update it with "mix deps.update live_phone" or clean it with "mix deps.clean live_phone"
The text was updated successfully, but these errors were encountered:
Added this to a app and I receive the following message.
Also tried the suggestion of adding
{:phoenix_html_helpers, "~> 1.0"}
. But message doesn't change.The text was updated successfully, but these errors were encountered: