Closed wuye9036 closed 6 months ago
@wuye9036 with the given data, looks like the error is not related to run-vcpkg (which did not change since long time). Do you have more data like the log with runner and action debug verbose logging? https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging
@wuye9036 with the given data, looks like the error is not related to run-vcpkg (which did not change since long time). Do you have more data like the log with runner and action debug verbose logging? https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging
The script uses the language feature "optional chaining" which is supported by node.js v14 and later. But the default apt source in ubuntu 22.04 just provides node.js v12. I have upgraded the node.js by official installer and this issue is resolved.
On gitea with default action runner, I have met an error:
The nodejs in the docker which runs the job is ubuntu 22.04 with apt installed version.