Iex:1: module AMPQ is not loaded and could not be found

I am trying to load the repl.

❯ mix deps.get
Resolving Hex dependencies...
Resolution completed in 0.019s
Unchanged:
  amqp 3.2.0
  amqp_client 3.9.29
  credentials_obfuscation 3.1.0
  jsx 3.1.0
  rabbit_common 3.9.29
  recon 2.5.3
All dependencies are up to date
❯ mix compile
❯ iex -S mix
Erlang/OTP 25 [erts-13.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit] [dtrace]
Interactive Elixir (1.14.3) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> import AMPQ
** (CompileError) iex:1: module AMPQ is not loaded and could not be found

Am I missing something obvious?

The same thing that I miss nearly every time I have to type that acronym :stuck_out_tongue:

2 Likes

Wow you are right!! Thanks! I guess I should stop developing after midnight.