If you see this error

(Mix) Could not start application xmerl: could not find application file: xmerl.app

you can fix it by

sudo apt-get install erlang-xmerl