-
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 package manager using corepack on node 16 #1075
Comments
Hello @SunsetTechuila |
I am having the same issue with
failing on |
closing in favor of actions/runner-images#10036 |
update: this happens because would be fixed by #901 since this works:
rn you can do this:
|
can confirm this fixed the issue |
Description:
No matter what node version you have chosen, the latest corepack will be used. The problem is that the latest corepack tries to use node's built-in fetch, which is not available in node 16
This is a quite common problem
Action version:
v4
Platform:
Runner type:
Tools version:
Node: 16.20.2
Repro steps:
packageManager
filed in thepackage.json
fileworkflow run
workflow file
example repo
Expected behavior:
I expect the chosen package manager to be installed
Actual behavior:
The text was updated successfully, but these errors were encountered: