Created by: Andarist
babel-preset-react-app
requires @babel/plugin-proposal-private-property-in-object
here:
https://github.com/facebook/create-react-app/blob/9673858a3715287c40aef9e800c431c7d45c05a2/packages/babel-preset-react-app/create.js#L168
but this wasn't declared in the dependencies
and thus strict package managers are currently tripping over this.
After patching this problem in Yarn 3 with:
packageExtensions:
'babel-preset-react-app@*':
dependencies:
'@babel/plugin-proposal-private-property-in-object': '^7.0.0'
The problem went away.