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

dependencies are borked; will matter when deprecation kicks in #13510

Open
felzix opened this issue Feb 2, 2024 · 2 comments
Open

dependencies are borked; will matter when deprecation kicks in #13510

felzix opened this issue Feb 2, 2024 · 2 comments

Comments

@felzix
Copy link

felzix commented Feb 2, 2024

One of your dependencies, babel-preset-react-app, is importing the
"@babel/plugin-proposal-private-property-in-object" package without
declaring it in its dependencies. This is currently working because
"@babel/plugin-proposal-private-property-in-object" is already in your
node_modules folder for unrelated reasons, but it may break at any time.

babel-preset-react-app is part of the create-react-app project, which
is not maintianed anymore. It is thus unlikely that this bug will
ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
your devDependencies to work around this error. This will make this message
go away.

@SeizureSaladd
Copy link

literally got this exact same thing in the console lol

@harsh183
Copy link

harsh183 commented Jun 9, 2024

I've been facing this issue too in my project (classtranscribe/FrontEnd#819). CRA has included a fix in a commit around a year ago: 0f5e990, but there's been no release since then.

Looks like @babel/plugin-proposal-private-property-in-object is deprecated and to be replaced with @babel/plugin-transform-private-property-in-object. Babel's website babel-plugin-transform-private-property-in-object docs says

This plugin is included in @babel/preset-env, in ES2022

Here's the link to the package.json for babel-preset-react-app in CRA that's declares the dependency too.

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

No branches or pull requests

3 participants