Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:exjsx required in applications? #13

Open
taktran opened this issue Jul 13, 2016 · 3 comments
Open

:exjsx required in applications? #13

taktran opened this issue Jul 13, 2016 · 3 comments

Comments

@taktran
Copy link

taktran commented Jul 13, 2016

I tried deploying logger_logstash_backend, but I get the error message

-----> Generating release
using mix to generate release
Building release with MIX_ENV=prod.

You have dependencies (direct/transitive) which are not in :applications!
The following apps should be added to :applications in mix.exs:

        logger_logstash_backend => logger_logstash_backend is missing from cms

To fix it, I had to add

def application do
  [applications: [:logger, :logger_logstash_backend, :exjsx]]
end

along with the dep

def deps do
  [{:logger_logstash_backend, "~> 2.1.1"}]
end

It doesn't seem like tzdata (#5) is needed anymore?

I can do a PR to fix this if you want

@taktran
Copy link
Author

taktran commented Jul 13, 2016

Note: :exjsx is missing from the mix.exs in logger_logstash_backend too

@ahmadferdous
Copy link

I faced the same issue while trying to prepare release package with Distillery. The problem is Elixir version requirement in logger_logstash_backend is still 1.3. It's only Elixir v1.4 and up that automatically infers :applications from deps. But being tied to v1.3 prevent that from happening.

@marcelog
Copy link
Owner

marcelog commented Nov 4, 2017

Can you guys try the new release? Elixir 1.5 is supported (1.3 is still the base requirement tho') and exjsx was added to the applications list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants