Every new build crashes

Hi,

For every new build I'm making, the first one crashes all the time. Then, I have to rebuild manually for it to work.

18 Replies

lol, where is my message


Second time: For every new build I'm making, the first one crashes all the time. Then, I have to rebuild manually for it to work.


56ecf4a7-da41-4ba0-a70c-7708dac4054f


a year ago

every new build? i only see one failed build.


In the last month? This happens frequently


a year ago

okay you didnt mention this was random


It's not random, for every new build, coming from GitHub, this problem occurs


a year ago

not much we can do here as that's an error regarding the yarn registry.


Is this not about the modules caching?


a year ago

you can try telling nixpacks to disable mount caching with NIXPACKS_NO_CACHE=1


Ok, this is an option


But It's strange. I have two services with the same code, but one builds successfully on the first run while the other doesn't build at all.


With the same yarn.lock, so NIXPACKS will return the same caching directory (i guess)


a year ago

cache is service specific


Could you clear this cache?


a year ago

you can disable cache with the mentioned service variable


Fine, this is not a good option for me.


I'll try to recreate my service at dawn


Loading...