dwyl/elixir-auth-google-demo

Erlang '24.0' isn't supported yet ... Deploy Latest Version of App to Heroku

nelsonic opened this issue · 7 comments

@SimonLab thanks for merging the update PR #7
Annoyingly, the deploy doesn't work because the buildpack is incorrect (my fault):
https://dashboard.heroku.com/apps/elixir-auth-google-demo/activity/builds/3cb8e486-9ee9-4cbe-9014-b925f6b3eff5
image

-----> Checking Erlang and Elixir versions
       Will use the following versions:
       * Stack heroku-18
       * Erlang 24.0
       * Elixir v1.12.3 
       Sorry, Erlang '24.0' isn't supported yet or isn't formatted correctly. For a list of supported versions, please see https://github.com/HashNuke/heroku-buildpack-elixir#version-support
 !     Push rejected, failed to compile Elixir app.
 !     Push failed

Just checked https://github.com/HashNuke/heroku-buildpack-elixir-otp-builds/blob/master/otp-versions
and it appears the latest available version is 23.3.2:
image

There is a PR to add OTP 24: HashNuke/heroku-buildpack-elixir-otp-builds#166 but it's sitting waiting ... ⏳

I can take a look at this in the evening. Need to do some "work work" now. ⏳

Todo

  • Downgrade OTP version to 23.3.2
  • Create PR
  • Confirm successful deployment to Heroku

This should only take 2 mins but the lowest label we have is T25m ... see: dwyl/labels#99

PR: #9 :shipit:
Yep, that took less than 5 mins. ⏳

Issue closed automatically when the PR has been merged. Reopen to make sure all working find on Heroku

Hey, how can I use those elixir and erlang version on my heroku app?

I'm getting this error
image

Hey @paij0se 👋
You should be able to use the https://github.com/dwyl/elixir-auth-google-demo/blob/main/elixir_buildpack.config to achieve the same result. 🤞

I fixed it downgrading the heroku stack to 22 -> 20

Makes sense. Glad you figured it out. 👍
If you have the opportunity to try Fly.io in the future, definitely do
it's a muuuuuch slicker Developer Experience for Elixir Apps!
see: https://fly.io/docs/elixir/getting-started/ 🚀
Not affiliated with them. But the creator of Phoenix is. 💭