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.
No description
14 Replies
Percy
Percy2mo ago
Project ID: N/A
Henrique Antonio
Henrique AntonioOP2mo ago
56ecf4a7-da41-4ba0-a70c-7708dac4054f
Brody
Brody2mo ago
every new build? i only see one failed build.
Henrique Antonio
Henrique AntonioOP2mo ago
In the last month? This happens frequently
Brody
Brody2mo ago
okay you didnt mention this was random
Henrique Antonio
Henrique AntonioOP2mo ago
It's not random, for every new build, coming from GitHub, this problem occurs
Brody
Brody2mo ago
not much we can do here as that's an error regarding the yarn registry.
Henrique Antonio
Henrique AntonioOP2mo ago
Is this not about the modules caching?
Brody
Brody2mo ago
you can try telling nixpacks to disable mount caching with NIXPACKS_NO_CACHE=1
Henrique Antonio
Henrique AntonioOP2mo ago
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)
Brody
Brody2mo ago
cache is service specific
Henrique Antonio
Henrique AntonioOP2mo ago
Could you clear this cache?
Brody
Brody2mo ago
you can disable cache with the mentioned service variable
Henrique Antonio
Henrique AntonioOP2mo ago
Fine, this is not a good option for me. I'll try to recreate my service at dawn
Want results from more Discord servers?
Add your server