Replies: 2 comments 1 reply
|
I have the same problem. |
0 replies
|
I have found a solution that worked for me. Just set the Before "compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
},After (Solution) "compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "https://esm.sh/preact@10.19.6"
},Software InformationOS: Windows 10 Pro |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I was about to create an issue regarding this error (not sure if this is the place for this info), but eventually found a solution.
For anyone else having this issue when creating a new project, just create the project on some other directory, like desktop, then
rm -rfthe directory you were using on the first place and move the new directory to its location.Steps to reproduce:
deno run -A -r https://fresh.deno.dev .(Accept to use twind and VS Code integration)routes/index.tsxon vs codeThe index.tsx has errors related to JSX Types:
Notes
Tried Solutions
All reactions