Skip to content

Still some errors in instructions? #123

@layeddie

Description

@layeddie

Sorry - not chasing but just tried this again as I noticed some updates.
My setup

❯ elixir -v
Erlang/OTP 25 [erts-13.0] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit]

Elixir 1.14.3 (compiled with Erlang/OTP 25)

~/projects/2023/examples/phoenix-liveview-chat-example main                                               13:47:56
❯ mix phx.new --version
Phoenix installer v1.7.1

git clone (https://github.com/dwyl/phoenix-liveview-chat-example.git)

Worked fine.

When I tried to build via the instructions I got some errors after section 2 and 3...
Looked over the instructions a few times to see if I had made some mistakes.
I have tried (https://github.com/dwyl/phoenix-chat-example) (I meant the git cloned app on my machine)

== Compilation error in file lib/liveview_chat_web/views/message_view.ex ==
** (UndefinedFunctionError) function LiveviewChatWeb.view/0 is undefined or private
    (liveview_chat 0.1.0) LiveviewChatWeb.view()
    (liveview_chat 0.1.0) expanding macro: LiveviewChatWeb.__using__/1
    lib/liveview_chat_web/views/message_view.ex:2: LiveviewChatWeb.MessageView (module)
    (elixir 1.14.3) expanding macro: Kernel.use/2
    lib/liveview_chat_web/views/message_view.ex:2: LiveviewChatWeb.MessageView (module)
Compiling 1 file (.ex)

Metadata

Metadata

Assignees

Labels

T25mTime Estimate 25 MinuteselixirPull requests that update Elixir codehelp wantedIf you can help make progress with this issue, please comment!tech-debtA feature/requirement implemented in a sub-optimal way & must be re-writtentechnicalA technical issue that requires understanding of the code, infrastructure or dependencies

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions