Skip to content

Conversation

Andarist
Copy link
Contributor

babel-preset-react-app requires @babel/plugin-proposal-private-property-in-object here:

require('@babel/plugin-proposal-private-property-in-object').default,

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.

@merceyz
Copy link
Contributor

merceyz commented Jan 3, 2022

This fix is already in #11751

@Andarist
Copy link
Contributor Author

Andarist commented Jan 3, 2022

Thanks for checking, didn't notice that PR

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

Successfully merging this pull request may close these issues.

3 participants