Skip to content

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

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

Closed
Gustafssonz opened this issue Sep 18, 2022 · 1 comment
Closed

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

Gustafssonz opened this issue Sep 18, 2022 · 1 comment

Comments

@Gustafssonz
Copy link

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.

@mattpocock
Copy link
Collaborator

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?

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

No branches or pull requests

2 participants