Skip to content

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

@efillman

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/[email protected]
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/[email protected]
node_modules/@babel/preset-env
@babel/preset-env@"^7.12.1" from @svgr/[email protected]
node_modules/@svgr/webpack
@svgr/webpack@"5.5.0" from the root project
@svgr/webpack@"5.5.0" from [email protected]
node_modules/react-scripts
@babel/preset-env@"^7.8.4" from [email protected]
node_modules/workbox-build
workbox-build@"^5.1.4" from [email protected]
node_modules/workbox-webpack-plugin
workbox-webpack-plugin@"5.1.4" from the root project
workbox-webpack-plugin@"5.1.4" from [email protected]
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