-
Notifications
You must be signed in to change notification settings - Fork 0
Cannot use JSX unless the '--jsx' flag is provided #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
my solution 1.eslintrc.js
|
I tried at eslintfail
.eslintrc.js (i changed the place)
|
Solution 2situation
How did I solve it?
I used
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did yarn start and compiling was a success but a lot of problems have appeared
$
yarn start
alsonpm run start
yarn run v1.22.4
$ react-scripts start
error
Cannot use JSX unless the '--jsx' flag is provided
Module './App' was resolved to 'c:/Users/taiga/Github/Typescript/eslint-app/example/src/App.tsx', but '--jsx' is not set.
Argument for '--jsx' option must be: 'preserve', 'react-native', 'react'.
I try
I used
The text was updated successfully, but these errors were encountered: