Hello, I apologize if this question is trivial as I am new to the Erlang/Elixir ecosystem. I recently cloned https://github.com/membraneframework/membrane_demo to try out the webrtc_videoroom
demo. Everything went fine up until running mix phx.server
:
== Compilation error in file lib/membrane/testing/endpoint.ex ==
** (FunctionClauseError) no function clause matching in String.trim/1
The following arguments were given to String.trim/1:
# 1
nil
Attempted function clauses (showing 1 out of 1):
def trim(string) when is_binary(string)
(elixir 1.15.0) lib/string.ex:1270: String.trim/1
lib/membrane/core/child.ex:28: Membrane.Core.Child.generate_moduledoc/2
expanding macro: Membrane.Element.Base.__before_compile__/1
lib/membrane/testing/endpoint.ex:1: Membrane.Testing.Endpoint (module)
could not compile dependency :membrane_core, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile membrane_core --force", update it with "mix deps.update membrane_core" or clean it with "mix deps.clean membrane_core"
I am using Elixir v1.15.0, Erlang v26. This compile error was thrown both with the default mix.exs
and after everything was updated to the latest versions listed on Hex. Thank you for any assistance, and I apologize if this is a beginner Elixir error -- it definitely feels like a user-error what with String
being the 'problem'.