Closed edmorley closed 3 years ago
I am facing same issue `----> Checking Erlang and Elixir versions Will use the following versions:
@edmorley any resolution?
any resolution?
@ahmadwaliesipick Hi! I'm not a maintainer of this buildpack (nor an end user of it) - you'd need to ask someone who is :-)
In the meantime, use this workaround from the OP:
Manually clearing the cache (https://github.com/heroku/heroku-builds#purge-build-cache) and building again worked.
We're getting support tickets periodically about this from users of this buildpack. I don't suppose someone could take a look? :-)
An app using the
heroku-16
stack was upgraded toheroku-20
, and the first build failed with:The
Stack changed, will rebuild
line suggests that the cache was cleared, however the next line shows cached assets being used:Manually clearing the cache (https://github.com/heroku/heroku-builds#purge-build-cache) and building again worked.
It seems that the cache clearing here isn't working as expected: https://github.com/HashNuke/heroku-buildpack-elixir/blob/b9092d471ebb0163dbf1bf733b719cf1e31c8f64/lib/misc_funcs.sh#L110-L113 https://github.com/HashNuke/heroku-buildpack-elixir/blob/b9092d471ebb0163dbf1bf733b719cf1e31c8f64/lib/misc_funcs.sh#L125-L132
Many thanks :-)