Eiamnacken
Elixir release fails with :enoent
Hello I’am trying to do a mix release with elixir version Elixir 1.10.2 (compiled with Erlang/OTP 22).
The Application compiles normally and I can also start it with iex -S mix phx.server. But whenever I try to do a mix release I get the following error.
** (Mix) Could not load asn1.app. Reason: :enoent
I already tried to nuke the complete folder and git clone it new.
I also tried the version provided from my package manager opensuse which is version 1.9.4-2.2 and my asdf version which is the version provided above. Both have the same error. I don’t know what is causing this error. Every help is appreciated.
Marked As Solved
Eiamnacken
Ok I completely removed elixir and erlang from my machine a took the version from asdf and now it works againg. But there was no evidence that elixir or erlang needed this. There is also no info if this package is provided anywhere I will ask the opensuse community for this.
Also Liked
Eiamnacken
So the solution was to compile erlang from source. With the rpm package provided by opensuse the tests from elixir are failing. Now with the tar.gz release version 22.3 the elixir tests are all ok. So the error really comes from the provided erlang version from opensuse. I will make an issue there.
Eiamnacken
I opened a new bug. And now they know what the issue is, it will get fixed.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








