dwyl / dwyl/phoenix-liveview-chat-example
Are Instructions up to date?
- Dominant language
- Elixir
- Stars
- 162
- Forks
- 12
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 3
Description
Having some problems following the instructions
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)
mix phx.new -v
Phoenix installer v1.7.0
First error - section 2
Create the lib/liveview_chat_web/views/message_view.ex file: creates this error but file contents pasted from instructions.
mix phx.server
Compiling 1 file (.ex)
== Compilation error in file lib/liveview_chat_web/views/message_view.ex ==
** (UndefinedFunctionError) function LiveviewChatWeb.view/0 is undefined or private
LiveviewChatWeb.view()
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)
Delete files paragraph is asking to delete default generated code folders and files that do not exist.
_Finally you can delete all the default generated code linked to the PageController:_
rm test/liveview_chat_web/controllers/page_controller_test.exs
rm lib/liveview_chat_web/controllers/page_controller.ex
rm test/liveview_chat_web/views/page_view_test.exs
rm lib/liveview_chat_web/views/page_view.ex
rm -r lib/liveview_chat_web/templates/page
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.