I have a problem where my typescript complier is running out of memory and crashing. I want to have a look at what is going on. The documentation says:
--verbose boolean
Enable verbose logging
However this throws an error on "typescript": "^4.2.4"
:
tsc --verbose
error TS5023: Unknown compiler option '--verbose'.
Does anyone know how I turn on logging? Thanks
Took me while to figure this out because the error message is super unhelpful. Now they've finally updated the error message to be clearer, and it says that the --verbose
flag has to be used with --build
. So just run this:
tsc --build --verbose
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With