-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
Cannot find name react. #58844
Comments
I figured out. |
Can you provide sample code/repro steps to help us investigate? |
It looks like this is a question rather than a bug report. This issue tracker is for tracking bugs and active work on TypeScript itself, rather than a general forum for programmers using TypeScript to get help or ask questions. You can ask questions on sites like Stack Overflow. We are not able to provide one-on-one support on the issue tracker. Please read the issue template carefully - it has important information on what kinds of reports can be acted on here, as well as links to useful TypeScript resources. Thanks! |
Respectfully i disagree, this is not a question, this is a issue. I'll provide an sample repository. |
If it’s a bug, you need to use the bug report template. |
@fatcerberus Here: https://github.com/mrVin99/vscode-issue-58844 Unless somehow its a problem within my vscode setup, you should be able to see. Install the dependencies (pnpm or npm) and just go to index.tsx, it should display the error msg. Change the index.ts to anything you want .ts, the error msg will dissapear. |
For reference, this is not a problem with intellij idea. So for this reason i believe this to be a bug. |
Sorry about, should i create a new issue report or is the repository and explanation above good enough? |
This is a misconfiguration. TypeScript won't automatically pick up two files with the same extension via |
Didn't know it was intentional, since it worked on intellij. I'll look this up, thanks for the help! |
I'm getting an annoying error saying it "Cannot find name react." However, im not using React at all, i'm using SolidJS. Everything is working smoothly on Intellij IDEA.
The text was updated successfully, but these errors were encountered: