Skip to content

Support typescript 3.8.x #8544

Closed
Closed
@valentinpalkovic

Description

@valentinpalkovic

Describe the bug

It is currently not possible to start or build with typescript 3.8. Following error occurs:

TypeScript error in /../tsconfig.json(19,5)
Option 'noEmit' cannot be specified with option 'incremental'.

Did you try recovering your dependencies?

yes

Which terms did you search for in User Guide?

typescript, incremental, noEmit

Environment

Environment Info:

current version of create-react-app: 3.4.0
running from /home/valentin/.npm/_npx/18909/lib/node_modules/create-react-app

System:
OS: Linux 5.3 Ubuntu 19.10 (Eoan Ermine)
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Binaries:
Node: 13.6.0 - ~/.nvm/versions/node/v13.6.0/bin/node
Yarn: 1.21.1 - ~/.nvm/versions/node/v13.6.0/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v13.6.0/bin/npm
Browsers:
Chrome: 79.0.3945.130
Firefox: 73.0
npmPackages:
react: 0.0.0-experimental-ea6ed3dbb => 0.0.0-experimental-ea6ed3dbb (16.12.0)
react-dom: 0.0.0-experimental-ea6ed3dbb => 0.0.0-experimental-ea6ed3dbb
react-scripts: 3.4.0 => 3.4.0
npmGlobalPackages:
create-react-app: Not Found`

Steps to reproduce

  1. Install typescript 3.8.2
  2. Run react-scripts start

Expected behavior

the standard configuration of tsconfig should work with typescript 3.8. Set noEmit=false or incremental=false

Actual behavior

Bildschirmfoto von 2020-02-23 15-59-31

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