Closed JoseMPena closed 3 years ago
Hello :wave:
Thanks for opening an issue. I assume that you are going through the 3rd chapter? I just cloned the branch, and "it works on my machine"(R), but I have different Elixir/OTP versions. Have you tried to clone the repository(branch called chapter_03
) and run it? If it works for you, then you would have a side-by-side chance to debug what's wrong with the code (if anything).
Hello π
Thanks for opening an issue. I assume that you are going through the 3rd chapter? I just cloned the branch, and "it works on my machine"(R), but I have different Elixir/OTP versions. Have you tried to clone the repository(branch called
chapter_03
) and run it? If it works for you, then you would have a side-by-side chance to debug what's wrong with the code (if anything).
Hey!
Thank you for your quick response!
Followed your advice and compared side to side and, as it turns out, I was installing the phoenix_pubsub dependency in the naive
application instead of streamer
. π€¦ββοΈ
Now it works as expected.
It happens to the best of us :wink: if you don't mind, I will totally steal this ticket template that you used here - I will just add a "chapter" section to it :slightly_smiling_face: Thank you for that :+1:
Happy reading - I hope you will get some value out of it! :rocket:
It happens to the best of us π if you don't mind, I will totally steal this ticket template that you used here - I will just add a "chapter" section to it π Thank you for that π
Happy reading - I hope you will get some value out of it! π
Hi: Please do use the template and adapt it for your needs! BTW Thank you for the book. It's an enjoyable and utterly useful read π
Best,
I've been following along the book as a practice method until I found myself blocked with the following issue: Environment: Elixir 1.11.4 Erlang/OTP 23
Relevant code snippet
Expected:
iex -S mix
starts the application correctly.Actual result:
iex -S mix
produces error:** (Mix) Could not start application streamer: Streamer.Application.start(:normal, []) returned an error: shutdown: failed to start child: Phoenix.PubSub.Supervisor ** (EXIT) shutdown: failed to start child: Phoenix.PubSub.PG2 ** (EXIT) exited in: :gen_server.call(Phoenix.PubSub, {:join_local, Streamer.PubSub.Adapter, #PID<0.251.0>}, :infinity) ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
Besides changing the Elixir/OTP versions, I see no way of debugging this. Any idea?