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