4

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

1
  • Take a look at the advanced tsconfig options. Depending on your problem, one of them may be illuminating. Commented Apr 9, 2021 at 17:26

1 Answer 1

3

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
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.