-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Cannot install packages using Node.js 22 on windows-latest runners #1025
Comments
Hello @lpsinger, Thank you for creating this issue and we will look into it :) |
I believe I'm having the same issue here: https://github.com/express-rate-limit/express-rate-limit/actions/runs/8900764596/job/24445327662 - that commit was a documentation-only change and the previous build passed. It runs on nodejs 16 + the latest LTS (currently 20) + the latest release (currently 22). This failure happened with node.js v22.0.0 & npm 10.5.1. |
I'm having the same issue, any ideas on a eta to fix this will block all my windows builds that need to use node 22 |
This is a problem with Node itself nodejs/node#52682 |
Looks like this is now fixed with node.js 22.1.0 and npm 10.7.0 - https://github.com/express-rate-limit/express-rate-limit/actions/runs/8900764596 |
Yes, indeed. Thanks! |
This reverts commit 1294596. actions/setup-node#1025 has been fixed.
Description:
If you set node-version to 22 on a GitHub-hosted windows-latest runner, commands like
npm ci
fail with the following error message:Action version:
v4
Platform:
Runner type:
Tools version:
node: v22.0.0
npm: 10.5.1
yarn: 1.22.22
Repro steps:
See https://github.com/lpsinger/nodejs-22-windows
Expected behavior:
Build should pass
Actual behavior:
Build fails. See this workflow run: https://github.com/lpsinger/nodejs-22-windows/actions/runs/8881922941/job/24385408488
The text was updated successfully, but these errors were encountered: