2 years ago
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
2 years ago
lol, where is my message
2 years ago
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.
2 years ago
56ecf4a7-da41-4ba0-a70c-7708dac4054f
2 years ago
every new build? i only see one failed build.
2 years ago
In the last month? This happens frequently
2 years ago
okay you didnt mention this was random
2 years ago
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.
2 years ago
Is this not about the modules caching?
2 years ago
you can try telling nixpacks to disable mount caching with NIXPACKS_NO_CACHE=1
2 years ago
Ok, this is an option
2 years ago
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.
2 years ago
With the same yarn.lock, so NIXPACKS will return the same caching directory (i guess)
2 years ago
cache is service specific
2 years ago
Could you clear this cache?
2 years ago
you can disable cache with the mentioned service variable
2 years ago
Fine, this is not a good option for me.
2 years ago
I'll try to recreate my service at dawn