Description
Bug Report
This issue was originally posted as a PR comment.
Possibly related: #50545.
π Search Terms
tsc build exit silent failure
π Version & Regression Information
- This changed between versions 4.7.3 and 4.8.2_
β― Playground Link / π» Code
This occurs in my 7.5k file monorepo. I'm able to work around this issue by using tsc -p
instead of tsc --build
, so I'm not going to invest in creating a minimal repro case. I know that makes it hard for you to investigate, so I don't expect much from filing this issue. I'm more doing it in case other people have the same problem. If enough people +1 it, then we can invest in finding a repro.
If you want to give me a tsc
with additional logging to run, I'm happy to do that.
π Actual behavior
When I run tsc --build
on my TS project, I get no errors, even though they exist.
Ξ» ./tools/tvui/node_modules/.bin/tsc -p packages/tsconfig.json
# ... expected error messages omitted
Found 3 errors in 3 files.
Errors Files
1 node_modules/relay-hooks/lib/RelayHooksTypes.d.ts:56
1 packages/@tvui/fx2-transition/src/utils.tsx:173
1 packages/@tvui/redux/testing/unitTestingEnhancer.ts:8
tvui on ξ nth/ts-4.8 [!β‘] via ξ v16.16.0 took 10s
Ξ» time ./tools/tvui/node_modules/.bin/tsc --build packages/tsconfig.json --verbose
[3:52:58 PM] Projects in this build:
* packages/tsconfig.json
[3:52:58 PM] Project 'packages/tsconfig.json' is up to date but needs to update timestamps of output files that are older than input files
________________________________________________________
Executed in 550.41 millis fish external
usr time 437.83 millis 50.00 micros 437.78 millis
sys time 194.10 millis 616.00 micros 193.49 millis
I first noticed this after using yarn to update type-fest in node_modules.
π Expected behavior
When I run tsc --build
on my TS project, I get the same set of TS errors that tsc -p
produces.