shijith.k

shijith.k

Elixir and Erlang compiler version mismatch error

I keep getting this error when running mix firmware

** (Mix) Elixir was compiled by a different version of the Erlang/OTP compiler
than is being used now. This may not work.

Erlang compiler used for Elixir: 7.5.3
Current Erlang compiler:         8.0.2

Please use a version of Elixir that was compiled using the same major
version.

Elixir and erlang versions I use:

erlang 24.0
elixir 1.13.1-otp-24

Most Liked

jjcarstens

jjcarstens

Nerves Core Team

The mismatch is due to whatever nerves_system_* you’re using which is based on the MIX_TARGET set. Erlang is compiled into the tooling for the target and so your host Erlang needs to match the system’s Erlang.

To see the compatibility and expected versions, find your target in the table here: Systems — nerves v1.14.3

FYI - If you’re using the latest version of an official system, it’s going to be expected OTP 25

iamahmed

iamahmed

are you using asdf version-controller for installing erlang/elixir?

shijith.k

shijith.k

are you using asdf version-controller for installing erlang/elixir?

yes

Where Next?

Popular in Questions Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New

Other popular topics Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44608 311
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New

We're in Beta

About us Mission Statement