Skip to content

CRA 3 fails to handle a trailing comma in tsconfig.json - TSC has no problem #6865

Closed
@TomasHubelbauer

Description

@TomasHubelbauer

This is a bug report. To reproduce it, run npx create-react-app . --typescript and change the "jsx": "preserve" line to "jsx": "preserve",. This is with CRA3 and I don't think this happened in CRA2 because I kept my tsconfig.json the same while upgrading CRA from 2 to 3 and only now got the error. I think this is a CRA issue because running tsc -p . in the directory goes through with no problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions