TypeError: index.tsx: (0 , _helperCreateClassFeaturesPlugin.enableFeature) is not a function
One of your dependencies, babel-preset-react-app, is importing the "@babel/plugin-proposal-private-property-in-object" package without Failed to compile.
./src/index.tsx TypeError: C:\dev\project\src\index.tsx: (0 , _helperCreateClassFeaturesPlugin.enableFeature) is not a function at transformFile.next (<anonymous>) at run.next (<anonymous>) at transform.next (<anonymous>)
Possible Solution #1
Remove node_modules folder and re-run npm install or yarn
https://github.com/babel/babel/issues/9120
That solution worked for me surprisingly
Recent Comments