Skip to content

babel-loader 10 not accepted as a peer dependency - requires 8 <> 9 #938

Closed
@Jesus-Adaptive

Description

@Jesus-Adaptive

Is your feature request related to a problem? Please describe.

When upgrading to babel-loader 10.x these package's peer dependency of babel 8 <> 9 conflicts with my installed packages.

Describe the solution you'd like

Can you upgrade babel-loader peer dependency to the latest 10? (if it does not cause any conflicts on your side)

Describe alternatives you've considered

It works if I run npm install with --legacy-peer-deps flag - but I don't want to "force" packages to install with an incorrect peer dependency.

Additional context

npm install output:

$ npm i

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: root@undefined
npm error Found: [email protected]
npm error node_modules/babel-loader
npm error   dev babel-loader@"^10.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer babel-loader@"^8.3 || ^9" from @cypress/[email protected]
npm error node_modules/@cypress/code-coverage
npm error   dev @cypress/code-coverage@"^3.13.12" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions