quazar

quazar

Unchecked dependencies for environment prod: while creating release with edelivery

I am trying to create release with edelivery and distillery but while compiling dependences I am running into below error. I am using coherence which has deps on uuid. I am not sure if I understanding this error message correctly. I found one more such issue on github but it was closed by removing dependency all together and here I did not follow it exactly. Can anyone help ???

Unchecked dependencies for environment prod:
* uuid (Hex package)
could not find an app file at "_build/prod/lib/uuid/ebin/uuid.app". This may happen if the dependency was not yet compiled, or you specified the wrong application name in your deps, or the dependency indeed has no app file (then you can pass app: false as option)
** (Mix) Can't continue due to errors on dependencies

A remote command failed on:

pro@xxx.xxx.xxx.xxx

Output of the command is shown above and the command executed on that host is printed below for debugging purposes:

FAILED with exit status 1:

[ -f ~/.profile ] && source ~/.profile
set -e
cd /home/pro/edeliver/firefly/builds
if [ "mix" = "rebar" ]; then
  echo "using rebar to compile files"
  [[ "" != "true" ]] && ./rebar  clean skip_deps=true || :
  ./rebar  compile
elif [ "mix" = "mix" ] && [ "mix" = "mix" ]; then
  echo "Checking whether deps must be compiled for mix version 1.3.[01234]"
  # see https://github.com/boldpoker/edeliver/issues/94
  if mix --version | grep 'Mix 1.3.[01234]' >/dev/null 2>&1 ; then
    echo "Compiling deps because mix version 1.3.[01234] is used"
    APP="firefly" MIX_ENV="prod" mix deps.compile
  fi
  if [[ "" = "true" ]]; then
    APP="firefly" MIX_ENV="prod" AUTO_VERSION="" BRANCH="dev" SKIP_RELUP_MODIFICATIONS="" RELUP_MODIFICATION_MODULE="" USING_DISTILLERY="true" mix do compile
  else
    APP="firefly" MIX_ENV="prod" AUTO_VERSION="" BRANCH="dev" SKIP_RELUP_MODIFICATIONS="" RELUP_MODIFICATION_MODULE="" USING_DISTILLERY="true" mix do clean, compile
  fi
elif [ "mix" = "mix" ]; then
  echo "using mix to compile files"
  if [[ "" = "true" ]]; then
    if [[ -n "" ]]; then
      hint_message 'Using --auto-version together with --skip-mix-clean would not work!'
    fi
    APP="firefly" MIX_ENV="prod" AUTO_VERSION="" BRANCH="dev" SKIP_RELUP_MODIFICATIONS="" RELUP_MODIFICATION_MODULE="" USING_DISTILLERY="true" mix do deps.compile, compile
  else
    APP="firefly" MIX_ENV="prod" AUTO_VERSION="" BRANCH="dev" SKIP_RELUP_MODIFICATIONS="" RELUP_MODIFICATION_MODULE="" USING_DISTILLERY="true" mix do clean, deps.compile, compile
  fi
fi

Marked As Solved

quazar

quazar

I fixed this issue by updating uuid dependency. There’s a PR for coherence for this issue which is still pending. For now I am using forked version until it is merged. Here’s forked version https://github.com/pradosh987/coherence

Also Liked

Last Post!

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
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
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
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
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
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
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
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement