starbelly / rebar_mix

rebar3 plugin for building Elixir dependencies with mix
Apache License 2.0
0 stars 0 forks source link

No valid version ([]) of .app file found #8

Open starbelly opened 1 year ago

starbelly commented 1 year ago

Originally reported by @auror in https://github.com/Supersonido/rebar_mix/issues/21

Hello guys,

OS: Mac OSX

Erlang/OTP 23 [erts-11.1.8] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [hipe] [dtrace]

IEx 1.11.3 (compiled with Erlang/OTP 23)

We're using rebar_mix to use Elixir dependencies inside our rebar3 project. There's a problem while generating a release

===> Compiling oauth Consolidating 13 implementations of protocol Elixir.Jason.Encoder ===> [relup_helper] running gen_appups ===> Assembling release myapp... ===> Error generating release: jason: No valid version ([]) of .app file found. Found file "/Users/YYYYYY/Programs/myapp/_build/myapp/rel/myapp/lib/jason-/ebin/jason.app" with version "1.2.2"

make: *** [myapp] Error 1

jason is the transitive dependency and added to the rebar.config deps

{jason, {git, "git@github.com:michalmuskala/jason.git", {tag, "v1.2.2"}}}

Although, the next attempt seems to be solving it..

$ make ===> Compiling oauth Consolidating 13 implementations of protocol Elixir.Jason.Encoder ===> [relup_helper] running gen_appups ===> Assembling release myapp... ===> Release successfully assembled: _build/myapp/rel/myapp

Not sure what's happening here.. Please let us know if you need more information !

Regards