How do I cache bust?

jcPRO

10 months ago

I'm using Elixir, with Mix. I'm getting this error: lock outdated: the lock is outdated compared to the options in your mix.exs. To fetch locked version run "mix deps.get".

The lock file is up-to-date. I've re-generated it, and tried other things.

I think that the Docker image layer may be getting in the way, thus, needs its cache busted.

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

3 Replies

10 months ago

Try setting NIXPACKS_NO_CACHE=1 - https://nixpacks.com/docs/configuration/environment


jcPRO

10 months ago

That didn't seem to work! Trying NO_CACHE=1 now (from https://docs.railway.app/guides/build-configuration#disable-build-layer-caching).


jcPRO

10 months ago

Nor did that. I've tried building locally too, and got the same error this time, so it may be a fault on my end after all!


How do I cache bust? - Railway Help Station