Skip to content

Misleading error message when project arguments points to folder that lacks 'tsconfig.json' #4590

@vladima

Description

@vladima

create new folder with name '1', run compiler passing path to this folder as a value of 'project' argument.
Error message:

error TS5014: Failed to parse file '1/tsconfig.json': Unexpected token u.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions