Open marjaimate opened 6 years ago
I have this problem too. It seems it's because the plugin depends on git master while the application depends on a certain tag or hex version and some confusion happened between rebar3 and relx.
Using overrides doesn't seem to help either.
I have a Rebar3 release generated, using this plugin. I was generating the release using Erlang 18.3 and never had a problem. Recently upgraded to 20.1 and kept getting an error on release generation:
I had
erlydtl
declared as an application dependency in the app.src file. Now, after getting this, I've removed it from the app.src file, and got the release done. But inside the application, every time I tried to use the generated functions, got an undef error:Note - this only happens inside a release, when you compile and run it with rebar3, it works fine.