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

escript fails to start with "could not find application file: logger.app" #5529

Closed
ivan opened this issue Dec 4, 2016 · 1 comment
Closed

Comments

@ivan
Copy link
Contributor

ivan commented Dec 4, 2016

After 75e2ee0, if you mix escript.build and have a

 def application do
   # Specify extra applications you'll use from Erlang/Elixir
   [extra_applications: [:logger]]
 end

in your mix.exs, the compiled escript errors out with:

# ./escript_demo
Could not start application logger: could not find application file: logger.app

This is reproducible with an empty project created by mix new (just add an escript: escript() listing a main_module.)

Removing the def application makes the escript work, at least for escripts that don't need the logger.

@whatyouhide
Copy link
Member

Fixed in #5534.

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

No branches or pull requests

3 participants