Describe the bug
A warning shows up when building the npm package
To Reproduce
Steps to reproduce the behavior:
Run npm install
Run npm run build
See error
Expected behavior
No warning should show up
Screenshots
> react-scripts build
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.
Additional context
Add any other context about the problem here.
Describe the bug A warning shows up when building the npm package
To Reproduce Steps to reproduce the behavior:
Expected behavior No warning should show up
Screenshots
Additional context Add any other context about the problem here.