-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
I have an erlang project which I am migrating to use the rebar3_plugin, but the project does not use lager. If I don't include lager in the root rebar.config then the application will not start. I appears as though a dependency of lager, within the cuttlefish plugin, does not start.
As a workaround including lager in the rebar.config of the project fixes the issue.
Here is a snippet of the error on the console:
- ERTS_LIB_DIR=/home/geib/git/cse.spooler.v2/_build/prod/rel/cse_spooler/erts-7.2/../lib
- CUTTLEFISHCMD=/home/geib/git/cse.spooler.v2/_build/prod/rel/cse_spooler/erts-7.2/bin/escript /home/geib/git/cse.spooler.v2/_build/prod/rel/cse_spooler/bin/cuttlefish
- cd /home/geib/git/cse.spooler.v2/_build/prod/rel/cse_spooler
- /home/geib/git/cse.spooler.v2/_build/prod/rel/cse_spooler/erts-7.2/bin/escript /home/geib/git/cse.spooler.v2/_build/prod/rel/cse_spooler/bin/cuttlefish -e /home/geib/git/cse.spooler.v2/_build/prod/rel/cse_spooler/etc -d /home/geib/git/cse.spooler.v2/_build/prod/rel/cse_spooler/generated.conf -s /home/geib/git/cse.spooler.v2/_build/prod/rel/cse_spooler/share/schema/ -c /home/geib/git/cse.spooler.v2/_build/prod/rel/cse_spooler/etc/cse_spooler.conf
- CUTTLEFISH_CONFIG=escript: exception error: {app_start_failed,syntax_tools,
{"no such file or directory",
"syntax_tools.app"}}
in function lager:start_ok/2 (/home/geib/git/cse.spooler.v2/_build/default/plugins/lager/src/lager.erl, line 58)
in call from lager:start_ok/2 (/home/geib/git/cse.spooler.v2/_build/default/plugins/lager/src/lager.erl, line 55)
in call from lager:start_ok/2 (/home/geib/git/cse.spooler.v2/_build/default/plugins/lager/src/lager.erl, line 55)
in call from cuttlefish_escript:main/1 (/home/geib/git/cse.spooler.v2/_build/default/plugins/cuttlefish/src/cuttlefish_escript.erl, line 83)
in call from escript:run/2 (escript.erl, line 757)
in call from escript:start/1 (escript.erl, line 277)
in call from init:start_it/1
in call from init:start_em/1 - echo Cuttlefish failed! Oh no!
Cuttlefish failed! Oh no! - exit 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels