Replies: 2 comments 1 reply
-
I have the same problem. |
Beta Was this translation helpful? Give feedback.
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/[email protected]"
}, Software InformationOS: Windows 10 Pro |
Beta Was this translation helpful? Give feedback.
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 -rf
the 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.tsx
on vs codeThe index.tsx has errors related to JSX Types:
Notes
Tried Solutions
Beta Was this translation helpful? Give feedback.
All reactions