-
Notifications
You must be signed in to change notification settings - Fork 11
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
Started getting error "npx: command not found: renovate" after July 21th 2024. #78
Comments
So it's sometime failing sometime not? 🤔 |
It's failing consistently right now. |
Hummm, I'm not using Here is the discussion: renovatebot/renovate#30891 Maybe you can share your config file? You can also try to point to an old renovate version to see ? |
Interesting, I'll try to run with an older version, thanks. Here is our config file. {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch",
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch"
]
},
{
"datasources": [
"docker"
],
"packageNames": [
"postgres"
],
"allowedVersions": "13.12"
},
{
"datasources": [
"docker"
],
"packageNames": [
"eclipse-temurin"
],
"allowedVersions": "21-jre-alpine"
}
]
} |
I updated renovatebot/renovate#30891 (comment) Can you also add more logs ? Maybe it's saying that one key is not valid ? |
I tried adding env:
LOG_LEVEL: debug But I don't get any additional logs. Isn't this problem caused because the extension doesn't seem to have access to the renovate command via npx for some reason? I'm not sure why that would happen though.
|
It's one of those days. Feeling kinda stupid right now. Swapping from the task Updated and working pipeline definition: trigger: none
schedules:
- cron: "0 0 * * 1-4"
displayName: "Run renovatebot at midnight (Monday-Thursday)"
branches:
include:
- develop
always: true
pool:
vmImage: ubuntu-latest
steps:
- task: UseNode@1
displayName: 'Use Node 20.17.0'
inputs:
version: '20.17.0'
- task: RenovateMe@1
displayName: Renovate Please excuse my idiocy, case closed. |
Haha, thanks or the update. |
I noticed our renovate pipeline has had a few failed weekly executions. The first error was because we were using node version 20.9.0 which was too old for the renovate task. I have tried using node version
20.17.0
and21.7.3
but both results in the same error. Please advise!Build output
Pipeline definition
The text was updated successfully, but these errors were encountered: