JSX tags throw errors in Solid TS and React TS #13719
Unanswered
meclondrej
asked this question in
Troubleshooting
Replies: 1 comment 3 replies
-
This may have been fixed in #13691. Will you try building from source and seeing if this solves your issue? |
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
Summary
If helix is not launched from the project root, the following happens:
'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.
This JSX tag requires 'React' to be in scope, but it could not be found.
If helix is launched from the project root, no issues are present.
Reproduction Steps
Reproduction in an Arch Linux container:
docker run -it archlinux
pacman -Sy npm helix
npm create vite@latest
cd
into thesrc/
directoryhelix App.tsx
Helix log
~/.cache/helix/helix.log
Platform
Arch Linux
Terminal Emulator
alacritty 0.15.1 (0c405d53)
Installation Method
pacman from arch linux repos
Helix Version
helix 25.01.1
Beta Was this translation helpful? Give feedback.
All reactions