Skip to content
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 add property noFallthroughCasesInSwitch, object is not extensible #2

Open
okozolin opened this issue Nov 6, 2020 · 0 comments

Comments

@okozolin
Copy link

okozolin commented Nov 6, 2020

Get this error 'TypeError: Cannot add property noFallthroughCasesInSwitch, object is not extensible' when run 'npm start'
(of course after running 'npm install'..).
It seems like a recent known issue
facebook/create-react-app#9429

What worked for me (and discussed in the link above) is setting
"noFallthroughCasesInSwitch": true to compilerOptions in my tsconfig.json

You should probably add a note for that in the Readme.

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