I am trying to set elixir up as a back-end for React, and I have done a bunch of stuff to get it running. I cannot seem to make it work.
"10:09:43.125 [error] beam/beam_load.c(206): Error loading module 'Elixir.Hex':
This BEAM file was compiled for an old version of the runtime system.
To fix this, please re-compile this module with Erlang/OTP 24 or later."
I have tried sudo apt-get install erlang and mix deps.compile or mix compile or mix clean
asdformisefor installing elixir, erlang and other stuff. I recommend starting withasdf. google.com/url?q=https://github.com/asdf-vm/… When it is installed, you canasdf plugin add erlangandasdf install erlang 26, etc. On an existing elixir project, you may see a.tool-versionsfile. This is for asdf to use.asdf intallwill find the.tool-versionsfile. The file is created when you runasdf local...mix local.hex