This is not the tsc command you are looking for

The problem in my case was that I had installed tsc package instead of the correct typescript. From https://www.npmjs.com/package/tsc:

Use typescript to get access to the tsc CLI command.

The fix is:

npm uninstall tsc
npm install -D typescript

Commands like npx tsc --version will still run because typescript provides the tsc executable.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)