-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error updating Yarn binary #16733
Comments
Tried to reproduce it with this repro with no success. |
I think the updates may be missing the vendored extra files? |
Hey feel free to dismiss if this is not related but since today every NPM update are blocked with this error |
@bodinsamuel that's probably unrelated but very concerning. Can you check the logs to see if there's any other useful info there? |
JobID 750412317 DEBUG: Executing command(branch="renovate/pin-dependencies")
{
"command": "docker run --rm --name=renovate_node --label=renovate_child -v \"/mnt/renovate/gh/bodinsamuel/altheia\":\"/mnt/renovate/gh/bodinsamuel/altheia\" -v \"/tmp/renovate-cache\":\"/tmp/renovate-cache\" -e NPM_CONFIG_CACHE -e npm_config_store -e CI -e YARN_ENABLE_IMMUTABLE_INSTALLS -e YARN_HTTP_TIMEOUT -e YARN_GLOBAL_FOLDER -e YARN_ENABLE_GLOBAL_CACHE -e BUILDPACK_CACHE_DIR -w \"/mnt/renovate/gh/bodinsamuel/altheia\" docker.io/renovate/node:10.13.0 bash -l -c \"install-tool corepack 0.12.1 && yarn install --mode=update-lockfile\""
}
DEBUG: rawExec err(branch="renovate/pin-dependencies")
{
"err": {
"name": "ExecError",
"cmd": "/bin/sh -c docker run --rm --name=renovate_node --label=renovate_child -v \"/mnt/renovate/gh/bodinsamuel/altheia\":\"/mnt/renovate/gh/bodinsamuel/altheia\" -v \"/tmp/renovate-cache\":\"/tmp/renovate-cache\" -e NPM_CONFIG_CACHE -e npm_config_store -e CI -e YARN_ENABLE_IMMUTABLE_INSTALLS -e YARN_HTTP_TIMEOUT -e YARN_GLOBAL_FOLDER -e YARN_ENABLE_GLOBAL_CACHE -e BUILDPACK_CACHE_DIR -w \"/mnt/renovate/gh/bodinsamuel/altheia\" docker.io/renovate/node:10.13.0 bash -l -c \"install-tool corepack 0.12.1 && yarn install --mode=update-lockfile\"",
"stderr": "",
"stdout": "This script must be run as root\n",
"options": {
"cwd": "/mnt/renovate/gh/bodinsamuel/altheia",
"encoding": "utf-8",
"env": {
"NPM_CONFIG_CACHE": "/tmp/renovate-cache/others/npm",
"npm_config_store": "/tmp/renovate-cache/others/pnpm",
"CI": "true",
"YARN_ENABLE_IMMUTABLE_INSTALLS": "false",
"YARN_HTTP_TIMEOUT": "100000",
"YARN_GLOBAL_FOLDER": "/tmp/renovate-cache/others/berry",
"YARN_ENABLE_GLOBAL_CACHE": "1",
"HOME": "/home/ubuntu",
"PATH": "/home/ubuntu/.npm-global/bin:/usr/local/node/14.18.1/bin:/home/ubuntu/.local/bin:/usr/local/python/3.9.3/bin:/home/ubuntu/bin:/home/ubuntu/renovateapp/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LC_ALL": "C.UTF-8",
"LANG": "C.UTF-8",
"BUILDPACK_CACHE_DIR": "/tmp/renovate-cache/buildpack"
},
"maxBuffer": 10485760,
"timeout": 900000
},
"exitCode": 1,
"message": "Process exited with exit code \"1\"",
"stack": "ExecError: Process exited with exit code \"1\"\n at ChildProcess.<anonymous> (/home/ubuntu/renovateapp/node_modules/renovate/dist/util/exec/common.js:85:24)\n at ChildProcess.emit (events.js:412:35)\n at ChildProcess.emit (domain.js:475:12)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)"
}
} |
it's using node v10.13.0? looks like wrong constraints? |
Yes in the .nvmrc |
🤔 is yarn v3.2 compatible with node v10? that repo is mixing a lot different configuration options. engines and package manager differ for requested yarn version |
aah will try, sorry for the noise then 🙏🏻 |
With Corepack, Yarn 2+ can work without checking in the binary file. As a result, renovate/lib/modules/manager/npm/post-update/index.ts Lines 426 to 428 in dd5ca94
I think there were some logics depending on the existence of |
🎉 This issue has been resolved in version 32.146.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
How are you running Renovate?
Mend Renovate hosted app on github.com
If you're self-hosting Renovate, tell us what version of Renovate you run.
No response
Please select which platform you are using if self-hosting.
No response
If you're self-hosting Renovate, tell us what version of the platform you run.
No response
Was this something which used to work for you, and then stopped?
I never saw this working
Describe the bug
I am seeing quite a lot of these errors in the hosted app.
Example repo: https://github.com/Darkflame72/SMS-Discord-Bot in this PR: https://github.com/Darkflame72/SMS-Discord-Bot/pull/7
Seems to have increased recently:
Relevant debug logs
Logs
Have you created a minimal reproduction repository?
No reproduction, but I have linked to a public repo where it occurs
The text was updated successfully, but these errors were encountered: