Skip to content

Update @babel/core dependency from 7.12.3 to ^7.13.0 #11235

Description

@efillman

When using the eject option there is now a npm install error with babel core being less than 7.13.0 caused by @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining

Error log below.
Could not resolve dependency:
peer @babel/core@"^7.13.0" from @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.14.5
node_modules/@babel/preset-env/node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining
@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@"^7.14.5" from @babel/preset-env@7.14.8
node_modules/@babel/preset-env
@babel/preset-env@"^7.12.1" from @svgr/webpack@5.5.0
node_modules/@svgr/webpack
@svgr/webpack@"5.5.0" from the root project
@svgr/webpack@"5.5.0" from react-scripts@4.0.3
node_modules/react-scripts
@babel/preset-env@"^7.8.4" from workbox-build@5.1.4
node_modules/workbox-build
workbox-build@"^5.1.4" from workbox-webpack-plugin@5.1.4
node_modules/workbox-webpack-plugin
workbox-webpack-plugin@"5.1.4" from the root project
workbox-webpack-plugin@"5.1.4" from react-scripts@4.0.3
node_modules/react-scripts

Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions