✅ – Cansu – 10-12 Oct 30
Cannot use JSX unless the '--jsx' flag is provided.
7 Replies
Ahem.
Compiled with >
tsc --jsx reacthttps://pastebinp.com/7ldn4NZEaiBd7ch6gmtQ#ThdmsQr9e1qlQgoZdgJ5EFLsbpnIV2cFWdB5GUzUgTU= this is the tsconfig.json and this is how i run npm start
npm start --jsx
the jsx line is commented out in tsconfig, remove the comment and set it to
react
// "jsx": "preserve", /* Specify what JSX code is generated. */?
Solution
yes
thank you it worked
thank you thank you
This question has an answer! Thank you for helping 😄
If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/902647189120118794/1036221094157365278
This thread hasn’t had any activity in 12 hours, so it’s now locked.
Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/902647189120118794/1036221094157365278