Yarn throws "Segmentation Fault" whenever updating a Node dependency #23998
Replies: 1 comment 3 replies
-
you should also set the packageManager option inside the package.json |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us what version of Renovate you run.
5.0.0
If you're self-hosting Renovate, select which platform you are using.
GitLab self-hosted
Was this something which used to work for you, and then stopped?
It used to work, and then stopped
Describe the problem
Hello :)
Recently we have been getting "Segmentation Fault" errors when Renovate was trying to refresh the
yarn.lock
whenever it was updating JS dependencies. You can find of the log from Whitesource Renovate down below.I've checked the CPU, Memory and Disk usage of our Renovate Container (deployed within a Kubernetes Cluster) and everything is fine, consumption is far below the limits that we gave to the container.
So we figured out that maybe it's because we still use Yarn v1, so we decided to upgrade it. We did the following :
Renovate successfully rebased the PRs, but now we have this error :
We are unable to reproduce this errors locally, or when freshly cloning the repository. I've searched through the Yarn and Renovate issues but I couldn't find anything relevant. Do you have any clue ?
Thank you !
Relevant debug logs
Logs
Have you created a minimal reproduction repository?
I have explained in the description why a minimal reproduction is impossible
Beta Was this translation helpful? Give feedback.
All reactions