total-typescript/beginners-typescript-tutorial

@types/react-dom can't find exported member.

Gustafssonz opened this issue · 1 comments

Hey!
Superconfusing error I get when I download the project and install it. When running the install and then an exercise I get this message:

image

../../../../node_modules/@types/react-dom/index.d.ts:20:19 - error TS2724: '"react"' has no exported member named 'SFCElement'. Did you mean 'CElement'

But I can't even find the @types/react-dom/index.d.ts file.

This doesn't look like an issue to do with our repo - it looks like a local-only bug. You notice how the node_modules it's referencing are outside the repo?