-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
TypeError: Cannot assign to read only property 'jsx' of object '#<Object>' #10117
Comments
reference |
i have the error yet. |
I'm getting the same error. After installing unmet peer dependencies and changing the tsconfig.json the errors are gone. See: |
I have the same issue, you can override it by removing the there's a solution for this #9868 (comment) |
this work, thanks |
'cp' is not recognized as an internal or external command |
'yarn' is not recognized as an internal or external command |
This is only works once. If you stop the server and restart it throws the same error. Seems to be an issue with Typescript itself or the way CRA handles the tsconfig file, not sure. I did a rollback to v4.0.5 and changed the jsx option to package.json +"typescript": "^4.0.5",
-"typescript": "^4.1.2", tsconfig.json +"jsx": "react"
-"jsx": "react-jsx" |
Can be closed. Fixed in in release react-scripts@4.0.1 |
i am confused. |
I had this issue until I
After updating, I didn't even have to re-generate my tsconfig.json |
when i want to use typescript template then npm start get this error.
i know this is duplicate .
but i think this error is important to solve.
The text was updated successfully, but these errors were encountered: