How to fix 'wxe_driver.so' error in Elixir

If you trying to start an observer or debugger from iex (e.g. :observer.start or :debugger.start) and keep getting the following error:
ERROR: Could not find 'wxe_driver.so' in: /usr/lib/erlang/lib/wx-1.4/priv
then you probably have erlang-nox (headless version of Erlang VM) installed or doesn't have any wxWidgets library in your system.

»