Closed eberlitz closed 5 months ago
According to execa docs the error might contain an undefined exitCode when it gets killed by a signal or fails when spawning.
https://github.com/sindresorhus/execa/blob/main/docs/errors.md#exit-code
To test I did the following locally to simulate the TSC getting out of memory:
NODE_OPTIONS="--max-old-space-size=512" ../node_modules/.bin/tsc-strict echo $?
According to execa docs the error might contain an undefined exitCode when it gets killed by a signal or fails when spawning.
https://github.com/sindresorhus/execa/blob/main/docs/errors.md#exit-code
To test I did the following locally to simulate the TSC getting out of memory: