I have problem with adding dependency (I'm using rebar3 for compiling).
For example I want use jsx (tried also with jimmy and some other) so I added below lines in rebar.config (as it is stated on github for this project):
{deps, [
...
{jsx, "~> 3.0"}
]}
But when compiling and run app I got:
** exception error: undefined function jsx:is_json/1
I also tried adding jsx to myapp.app.src
{applications, [
kernel,
stdlib,
jsx
]},
And I checked different combination described on https://www.rebar3.org/docs/configuration/dependencies/ but still have same error.
When I compiling my app, I don't even get info that some deps are fetching, just only:
rebar3 compile
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling myapp
Do you now what I have missed for adding other modules?
DIAGNOSTICS=1 DEBUG=1 rebar3 compile
and pasting the output around here?