Skip to content

Error: Parameter using node16 is not supported, use docker or node12 instead #711

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

Open
ogomozov-godaddy opened this issue Mar 2, 2022 · 13 comments

Comments

@ogomozov-godaddy
Copy link

Update to commit a12a394 (March 01) via dependabot caused error in this action
I believe it is somehow related to actions\runner, which is likely throws this error and being used by actions\checkout
Here is our code for this action:

   - name: Checkout Current Repo
        uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846

Here is the log

Download action repository 'actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846' (SHA:a12a3943b4bdde767164f792f33f40b04645d846)
Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node16' is not supported, use 'docker' or 'node12' instead.')
   at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
   at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
Error: Fail to load actions/checkout/a12a3943b4bdde767164f792f33f40b04645d846/action.yml
@thboop
Copy link
Contributor

thboop commented Mar 2, 2022

Hey @ogomozov-godaddy, are you running on GHES or dotcom? This sounds like an out of date runner version, please pin to the @v2 tag or the latest sha on that branch if you are unable to update your runner. We document the minimum runner version here.

@ogomozov-godaddy
Copy link
Author

ogomozov-godaddy commented Mar 3, 2022

@thboop we run Enterprise, but it is under github.com. Idk, which code of actions\runners we use. We also use custom self hosted runners, idk if it matters

@hutson
Copy link

hutson commented Apr 21, 2022

We encountered a similar issue within our GitHub Enterprise Server deployment (Which uses self-hosted runners).

We're currently running GitHub Enterprise Server 3.3, but our repositories are receiving automated PRs to update them to actions/checkout@3.

Those PRs fail because of the Node 16 error mentioned above.

At the moment we're waiting to upgrade to 3.4, which should resolve the issue.

@shubhamdeodia
Copy link

Having the same issue

image

@bitfrost
Copy link

Same, intermittent. Enterprise / github.com , self hosted runners

@rafael-leal-mccormack
Copy link

Also having this issue, are there any work arounds?

@IanKnighton
Copy link

Some time later...

I'm now seeing this issue on a handful of repos/workflows with self hosted runners.

Would be cool to know what the issue is.

@LevanArabuli
Copy link

Any updates on this?

@HiptJo
Copy link

HiptJo commented Jun 16, 2023

+1

@minhchienwikipedia
Copy link

any update?

@felixmattsson
Copy link

+1

@HiptJo
Copy link

HiptJo commented Oct 5, 2023

The issue solved itself in some way or another for me - i have no idea, how it has been solved

I did perform an docker version update at some point, but i don't know if that really solved it - or if it has been solved in any other way.

@krush-fwtv
Copy link

On self-hosted runners, as soon as I add an SSH key or known-hosts, this problem is showing up for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests