Skip to content
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

Dependabot fails to find npm version in pnpm workspaces and fails with tool_version_not_supported #11359

Closed
1 task done
Yurickh opened this issue Jan 21, 2025 · 1 comment
Closed
1 task done
Labels
L: github:actions GitHub Actions L: javascript T: bug 🐞 Something isn't working

Comments

@Yurickh
Copy link
Contributor

Yurickh commented Jan 21, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

pnpm (npm_and_yarn)

Package manager version

9.15.4

Language version

Node.js 20.12.2

Manifest location and content before the Dependabot update

dependabot.yml content

Updated dependency

Irrelevant to the issue

What you expected to see, versus what you actually saw

I'd expect @dependabot recreate to work on the PR, but as you can see in the logs, it fails with tool_version_not_supported error due to being unable to find the npm version:

updater | 2025/01/21 13:21:19 INFO <job_951303522> Guessed version info "pnpm" : "9"
updater | 2025/01/21 13:21:19 INFO <job_951303522> Installed version for pnpm: 9.15.3
...
updater | 2025/01/21 13:21:22 INFO <job_951303522> Installed version for npm: 9.6.5
...
updater | 2025/01/21 13:21:22 ERROR <job_951303522> Dependabot detected the following npm requirement for your project: ''.

Native package manager behavior

It updates as normal.

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

All links in the issue are from a reproduction repro.

@Yurickh
Copy link
Contributor Author

Yurickh commented Jan 22, 2025

Seems to have been fixed as of today at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: github:actions GitHub Actions L: javascript T: bug 🐞 Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant