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

Fixed declared deps problem in babel-preset-react-app #11851

Closed
wants to merge 1 commit into from

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