#Every new build crashes

17 messages · Page 1 of 1 (latest)

safe dagger
#

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.

hexed scrollBOT
#

Project ID: N/A

safe dagger
#

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

winged willow
#

every new build? i only see one failed build.

safe dagger
#

In the last month? This happens frequently

winged willow
#

okay you didnt mention this was random

safe dagger
#

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

winged willow
#

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

safe dagger
#

Is this not about the modules caching?

winged willow
#

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

safe dagger
#

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)

winged willow
#

cache is service specific

safe dagger
#

Could you clear this cache?

winged willow
#

you can disable cache with the mentioned service variable

safe dagger
#

Fine, this is not a good option for me.