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

Where Next?

Popular in Questions Top

lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
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
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
gonzofish
I’m currently trying to understand how to join three tables using Ecto. All the examples I’ve seen use 2, so maybe I’m just missing somet...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
LegitStack
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New

Other popular topics Top

yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
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
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

We're in Beta

About us Mission Statement