Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support typescript 3.8.x #8544

Closed
valentinpalkovic opened this issue Feb 23, 2020 · 1 comment
Closed

Support typescript 3.8.x #8544

valentinpalkovic opened this issue Feb 23, 2020 · 1 comment

Comments

@valentinpalkovic
Copy link

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

@valentinpalkovic valentinpalkovic changed the title Support typescript 3.8.2 Support typescript 3.8.x Feb 23, 2020
@ianschmitz
Copy link
Contributor

Please remove incremental, as it's handled by the type checker plugin.

@lock lock bot locked and limited conversation to collaborators Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants