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.

Closed

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


2 years ago

every new build? i only see one failed build.


In the last month? This happens frequently


2 years ago

okay you didnt mention this was random


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


2 years ago

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


Is this not about the modules caching?


2 years 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)


2 years ago

cache is service specific


Could you clear this cache?


2 years 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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...