Open hardikmodi1 opened 2 months ago
Can you reproduce this with any command, or is it specifically yarn commands / tsc commands?
Tried only with tsc. So I am not sure if it reproducible with the other commands or not 😔
Could you possibly verify if it's reproducible with other commands? Does this command execute normally when run via the shell?
Yes if I run via shell then it executes normally, even if I just retrigger the pipeline it works fine. It fails randomly with the given error
My gut feeling is that it's a yarn issue, given the fact it returned an exit code (129), but I'm not 100% sure.
@nodejs/child_process PTAL
ExecSync is understood to be having issues, failing without errors on the commands it is executing. It created a lot of problems. Try these steps to find the cause and fix the problem:
Node.js Version
v18.18.2
NPM Version
v9.8.1
Operating System
Linux
Subsystem
child_process
Description
I am running
tsc
command usingexecSync
with in gitlab pipelines. In most of the cases it works fine. But sometimes it fails without giving any error regarding tsc. Command I am executing isI have wrapped this command in try catch and printed the exception, In cases where it fails it only prints following thing on console
Just rerunning the pipeline without any changes in the code this works fine.
Minimal Reproduction
No response
Output
No response
Before You Submit