---
title: How to fix Elixir Phoenix error "Could not start application xmerl"
date: '2023-01-19T00:00:00+00:00'
url: https://www.abhinav.co/how-to-fix-mix-error-could-not-start-application-xmerl-phpoenix-elixir
summary: If you use floki hex package, you might be seeing this error.
tags:
- Ubuntu
- Elixir
- Phoenix
- Error
author: Abhinav Saxena
---

# How to fix Elixir Phoenix error "Could not start application xmerl"

If you see this error

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

you can fix it by

```sh
sudo apt-get install erlang-xmerl
```
