Skip to content

TypeError: Cannot assign to read only property 'jsx' of object '#<Object>' #44

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

Open
petrgazarov opened this issue May 29, 2023 · 0 comments

Comments

@petrgazarov
Copy link

Running npm start raises the error:

node_modules/react-scripts/scripts/utils/verifyTypeScriptSetup.js:239
      appTsConfig.compilerOptions[option] = value;
                                                                       ^

TypeError: Cannot assign to read only property 'jsx' of object '#<Object>'

Which is fixed by updating react-script package to 4.0.3. See this issue for reference.

I'll be happy to make a pull request if you'd like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant