Skip to content

React + TS build not working #1014

@diegolameira

Description

@diegolameira

🐛 bug report

It's not possible to download and build React Typescript, just because of the wmonk/create-react-app-typescript recent changes.

Steps to reproduce:
1 - Create a React+TS sandbox
2 - Download it
3 - npm install & npm run build

Whats wrong?
1 - Failed to load tsconfig.json: Missing baseUrl in compilerOptions
2 - Cannot find "$PATH/tsconfig.prod.json" file.

Is there a related issue?
wmonk/create-react-app-typescript#322

Actually, to solve this I made 2 simple steps:
1 - compilerOptions.baseUrl = '.' > tsconfig.json
2 - { 'extends': './tsconfig.json' } > tsconfig.prod.json

Although the sandbox is already using the fixed version ("^2.13.0" which resolves to "2.16.0") there are still missing files.

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

    Issue actions