"Cannot use JSX unless the '--jsx' flag is provided" Can someone help me please ? :( there are 3 tsconfig files
@gonzaloamirfloresmolina5803Ай бұрын
Hi ,If you keep having the same problem try this...... in the jest configuration in package.json change the value in "transform" with this: "^.+\\.tsx?$": ["ts-jest", { "tsconfig": "tsconfig.app.json" }] it worked for me :D
@judewood396726 күн бұрын
I fixed by including "compilerOptions": { "jsx": "react-jsx" }, in my tsconfig.json file
@TARUNV-bo5nu20 күн бұрын
@@judewood3967 tks bro
@chiomaveronicaezezim19332 ай бұрын
Hi Pedro, great video. Though the githib repo was easier for me to follow. However, I noticed an omission in the read.me you provided. The part where one has to create a the App.spec.ts file for testing if he or she is not making use of their own codebase and not the todo-list code. That aside, the setup was easy for me with the help of the read.me file and I want to say Thank you so muc.
@pedro_furquim2 ай бұрын
Happy it helped you! 🎉
@mryasinize3 ай бұрын
Thanks for the tutorial, whats your keyboard btw?
@pedro_furquim3 ай бұрын
Thanks bro! Its a keychron K2
@SA_DarshanPatel5 ай бұрын
hi i am getting this error , Cannot use JSX unless the '--jsx' flag is provided, please help
@ДмитроЛимар5 ай бұрын
Hi, me too, you're not alone 😁
@masindeodera42065 ай бұрын
Anyone find a solution to that yet?😬
@ПавелКардаш-м2щ5 ай бұрын
I encountered the same problem. The new Vit creates three ts config files. If you go back to the old version with two ts configs, the error goes away.