Fixing Elixir issues after installing High Sierra

If you experience segfaults after updating to High Sierra, here is how to fix it

If after installing High Sierra (the latest version of OSX for Macs) you notice issues with Elixir or Phoenix, the fix I’ve found is to update Erlang.

If you installed Erlang with homebrew, you can update by running;

brew upgrade erlang

I’d then suggest forcing a recompile of your project.

mix compile --force

For me the issue presented itself after update when I tried to start my Phoenix server.

It was crashing with the error segmentation fault mix phx.server.

After the Erlang upgrade and the recompile everything was good.

Recent posts View all

Web DevProductivity

Keeping on top of website updates

Learn what website updates are, what they entail, why they are important, and how we can help

Freelancing

Getting the most out of your agency

Here are some tips based on years of working with, for, and as an agency on how to get the most out of any work you do.