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
-----> 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
:
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
Issue closed automatically when the PR has been merged. Reopen to make sure all working find on Heroku
Deploy worked: https://dashboard.heroku.com/apps/elixir-auth-google-demo/activity/builds/196d1808-85cb-4660-abbf-c179178dabdc
Google Oauth works with the new version: https://elixir-auth-google-demo.herokuapp.com/
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. 💭