Skip to content

Are Instructions up to date?Β #114

@layeddie

Description

@layeddie

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

Metadata

Metadata

Assignees

Labels

T2hTime Estimate 2 Hourschorea tedious but necessary task often paying technical debtgood first issueGood for newcomershelp wantedIf you can help make progress with this issue, please comment!priority-2Second highest priority, should be worked on as soon as the Priority-1 issues are finishedstarterA beginner-friendly issue that is a good starting point for a new person

Type

No type

Projects

Status

πŸ”– Ready for Development

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions