Sharp issues

Hi, lately around 70% builds (one to three is successful) started to randomly crash on sharp library. The only cure I found so far is adding

resolutions: {
    "sharp": "0.33.3"
}

But that breaks yarn strapi generate:types

This topic has been created from a Discord post (1228086368358502461) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

The worst part is that build just works sometime without any particular reason

Anyone any suggestions?

sharp issues docker node:alpine