total-typescript/beginners-typescript-tutorial

Checking types... error TS5023: Unknown compiler option '-'. Failed. Try again!

krajos opened this issue · 6 comments

Getting the following error after running any exercise (tests are passing) inside VS Code :

Checking types... error TS5023: Unknown compiler option '-'. Failed. Try again!

Could you give me some more information about your setup? What platform/OS are you using? I'm not seeing this locally, meaning it's likely something going on with your system.

  • VSCode Version: 1.81.0
  • OS: Windows 11

I tried to clone again and run, got a different error :

Checking types... error TS5042: Option 'project' cannot be mixed with source files on a command line. Failed. Try again!

What version of Node do you have?

Node version: 18.16.0

And can you confirm exactly what command you're running?

npm run exercise 01