Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Typings error on start without any modifications #311

Open
michelalbers opened this issue Apr 20, 2018 · 3 comments
Open

Typings error on start without any modifications #311

michelalbers opened this issue Apr 20, 2018 · 3 comments

Comments

@michelalbers
Copy link

Is this a bug report?

yes

Can you also reproduce the problem with npm 4.x?

yes

Which terms did you search for in User Guide?

Environment

react-scripts-ts@2.15.1
node@v9.11.1
npm@5.6.0
yarn@1.3.2

mac os X High Sierra

Steps to Reproduce

  1. create-creact-app example ---scripts-version=react-scripts-ts
  2. cd example/
  3. yarn start

Expected Behavior

Compile and show example page

Actual Behavior

(2236,19): Interface 'Element' cannot simultaneously extend types 'ReactElement<any>' and 'ReactElement<any>'.                         
Named property 'type' of types 'ReactElement<any>' and 'ReactElement<any>' are not identical. ```
@mnadeau2
Copy link

having the same issue.

@josephfarina
Copy link

Also having the same issue. Any updates?

@DorianGrey
Copy link
Collaborator

Sounds a bit similar to:
#313
#341

Would you mind checking the output of npm ls @types/react for duplicates?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants