[erlang-questions] dependency not reachable

Tristan Sloughter t@REDACTED
Sat Jan 30 18:17:38 CET 2016


No makefile if he is using rebar3.

This example you give is using erlang.mk not rebar. To convert to rebar3
you'll need to add a rebar.config that lists the deps:

{deps, [cowboy, jsx]}.

Will work.

--
Tristan Sloughter
t@REDACTED
 
 
 
On Sat, Jan 30, 2016, at 07:54 AM, Vanshdeep Singh wrote:
> make sure that jsx is specified in the Makefile too.
>  
> On Sat, Jan 30, 2016 at 6:52 PM, Pavanan M S <pavananms@REDACTED> wrote:
>> hi all
>>            I was trying to convert a rest api example built using rebar to rebar3 release ( http://jordenlowe.com/title/Explain_like_I_am_5_-_Erlang_REST_Framework_Cowboy) . I have added jsx to app.src .
>>            This error comes up .
>>                ===> Failed to solve release:
>>                Dependency jsx is specified as a dependency but is not reachable by the system.
>>  
>>             What could be the reason for this. Also...Is there anything I need to do more when making this a rebar 3 release? Please help.         
>>  
>> _______________________________________________
>> 
erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>  
> _________________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160130/fd2c66fe/attachment.htm>


More information about the erlang-questions mailing list