Setup new project with command mix new project_name
it setup everything without any
error or warning message, cd to project and ran command iex -S mix
it throws error
lib/helloworld.ex
defmodule Helloworld do
@moduledoc """
Documentation for `Helloworld`.
"""
@doc """
Hello world.
## Examples
iex> Helloworld.hello()
:world
"""
def hello do
:world
end
end
Version installed on system
MacBook Pro M2 - OS 13.4.1
Terminal - Rosetta
OpenSSL 3.1.2 1 Aug 2023 (Library: OpenSSL 3.1.2 1 Aug 2023)
Erlang/OTP 26 [erts-14.0.2] [source] [64-bit
Elixir 1.15.4 (compiled with Erlang/OTP 26)
Mix 1.15.4 (compiled with Erlang/OTP 26)
Node v18.15.0
NPM 9.5.0
lib/helloworld.ex
? β Vietcong@
processing inHelloworld
, and yet the closed module reported in the error isHelloworld.MixProject
π© β Spondaicmix.exs
β Spondaicmix clean
and see what happens. I agree that this is really a strange issue. β Complicated