Closed pribanerjee closed 10 months ago
Hey there @pribanerjee 👋🏻 ,
Can you confirm what version of NodeJS is running on your action runner? v3
was updated to run with node20
and the error presented looks like the NodeJS version running doesn't support optional chaining (introduced in Node 14).
Hey there @pribanerjee 👋🏻 ,
Can you confirm what version of NodeJS is running on your action runner?
v3
was updated to run withnode20
and the error presented looks like the NodeJS version running doesn't support optional chaining (introduced in Node 14).
Hey @austinvalle , we are using Node16 in our runner.So unless we upgrade to node20, we need to use with wrapper disabled?
Also currently node16 is default version of the actions runners
The v3
release was in preparation for node16 being deprecated next year, so v3.0.0
and above will all be aimed at supporting Node20. It looks like the action runners were also preparing for that deprecation, but then reverted it after.
If you need support for versions prior to node20 you could continue using v2
as most changes between v2
and v3
are version bumps.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
We just upgraded to hashicorp/setup-terraform@v3 for our GitHub actions and it started failing in terraform init step with below error
Terraform Configuration Files:
It only works when we disable the terraform_wrapper, which is not expected as we would like to work with exit codes.
Please look into the issue.