dwyl / dwyl/phoenix-liveview-chat-example

Still some errors in instructions?

Open
#123 3 comments 3 reactions 1 assignee Claimed by @SimonLab View on GitHub
elixir help wanted T25m tech-debt technical
Dominant language
Elixir
Stars
162
Forks
12
Avg merge
1d 9h
Merged PRs (30d)
3

Description

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)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.