-
Notifications
You must be signed in to change notification settings - Fork 279
-
Notifications
You must be signed in to change notification settings - Fork 279
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
ExecSync command fails without any error in the command being executed #4440
Comments
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.
|
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
The text was updated successfully, but these errors were encountered: