redux-toolkit-comparison icon indicating copy to clipboard operation
redux-toolkit-comparison copied to clipboard

TypeError: Cannot add property noFallthroughCasesInSwitch, object is not extensible

Open okozolin opened this issue 4 years ago • 0 comments

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 https://github.com/facebook/create-react-app/issues/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.

okozolin avatar Nov 06 '20 10:11 okozolin