Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

@babel/plugin-proposal-private-property-in-object is not in required deps #3917

Open
MocioF opened this issue Nov 14, 2023 · 0 comments
Open
Labels

Comments

@MocioF
Copy link

MocioF commented Nov 14, 2023

I have just built 22.9.0 to test an update the gentoo ebuild,
While building, yarn blames about @babel/plugin-proposal-private-property-in-object is not in required deps.

Expected behavior

No warning displayed on yarn build.

Actual behavior

Creating an optimized production build...
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.

Steps to reproduce

yarn --offline build

GVM versions

gsa: 22.9.0

Environment

Operating system:

Linux 6.1.57-gentoo

Installation method / source: (packages, source installation)
source installation

@MocioF MocioF added the bug label Nov 14, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant