checkout icon indicating copy to clipboard operation
checkout copied to clipboard

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

Open ogomozov-godaddy opened this issue 2 years ago • 13 comments

Update to commit a12a3943b4bdde767164f792f33f40b04645d846 (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

ogomozov-godaddy avatar Mar 02 '22 18:03 ogomozov-godaddy

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.

thboop avatar Mar 02 '22 19:03 thboop

@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

ogomozov-godaddy avatar Mar 03 '22 06:03 ogomozov-godaddy

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.

hutson avatar Apr 21 '22 20:04 hutson

Having the same issue

image

shubhamdeodia avatar May 20 '22 12:05 shubhamdeodia

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

bitfrost avatar May 26 '22 14:05 bitfrost

Also having this issue, are there any work arounds?

rafael-leal-mccormack avatar Jun 10 '22 22:06 rafael-leal-mccormack

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.

IanKnighton avatar May 03 '23 21:05 IanKnighton

Any updates on this?

LevanArabuli avatar May 09 '23 11:05 LevanArabuli

+1

HiptJo avatar Jun 16 '23 07:06 HiptJo

any update?

minhchienwikipedia avatar Aug 31 '23 10:08 minhchienwikipedia

+1

felixmattsson avatar Oct 04 '23 10:10 felixmattsson

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.

HiptJo avatar Oct 05 '23 06:10 HiptJo

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

krush-fwtv avatar Jan 20 '24 18:01 krush-fwtv