Error while building release

I ran MIX_ENV=prod mix release but i got an output with error

Erlang 20.0, Elixir 1.4.5 and Phoenix 1.2

Generated ceecare app
==> Assembling release..
==> Building release ceecare:0.0.1 using environment prod
==> One or more direct or transitive dependencies are missing from
    :applications or :included_applications, they will not be included
    in the release:

    :elixir_make
    :gen_stage

    This can cause your application to fail at runtime. If you are sure
    that this is not an issue, you may ignore this warning.

==> Including ERTS 9.0 from /usr/local/Cellar/erlang/20.0/lib/erlang/erts-9.0
==> Release failed, during .boot generation:
        Duplicated modules:
    	unicode_util specified in stdlib and unicode_util_compat

Please how can i resolve this?

Thanks.

Use mix app.tree to find which dep brings in and :unicode_util_compat and try to configure it that it won’t pull in :unicode_util_compat anymore. if necessary file a bug upstream.

Thanks immensely @NobbZ.

From the guide you gave. I found that hackney is responsible for this. Please see the attached screenshot.

Please how do i configure it so that it won’t pull in :unicode_util_compat

Thanks immensely.

Thanks so much @NobbZ for pointing me in the right direction.

I followed up on the one of the issues related to this on hackney https://github.com/benoitc/hackney/issues/416 and was able to fix it following the suggestion by Skosch

mix deps.clean --all && mix deps.get

Thanks once again.