Skip to content

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

Open
@krajos

Description

@krajos

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

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

Activity

mattpocock

mattpocock commented on Aug 10, 2023

@mattpocock
Collaborator

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.

krajos

krajos commented on Aug 10, 2023

@krajos
Author
  • 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!

mattpocock

mattpocock commented on Aug 10, 2023

@mattpocock
Collaborator

What version of Node do you have?

krajos

krajos commented on Aug 10, 2023

@krajos
Author

Node version: 18.16.0

mattpocock

mattpocock commented on Aug 10, 2023

@mattpocock
Collaborator

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

krajos

krajos commented on Aug 11, 2023

@krajos
Author

npm run exercise 01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mattpocock@krajos

        Issue actions

          Checking types... error TS5023: Unknown compiler option '-'. Failed. Try again! · Issue #84 · total-typescript/beginners-typescript-tutorial