"defstruct" diffrenet behaviors in iex and elixir

Thanks for leading me. However, this issue comes out using “Elixir defstruct.exs” although using iex as you said works correctly.

In addition, I think “iex” and “elixir” packages are different in my environment. I might miss installing correctly. When I checked “mix deps.get”, errors happen and are still unresolved.