Skip to content

Allow eslint-plugin-promise v6 as peer dependency #200

Closed
@J3m5

Description

@J3m5

What version of this package are you using?
16.0.3

What operating system, Node.js, and npm version?
Linux Mint 20.2 | Node.js 16.13.1 | npm 8.3.0

What happened?
I upgraded eslint-plugin-promise to version 6.0 and run npm install

npm WARN ERESOLVE overriding peer dependency
npm WARN Found: [email protected]
npm WARN node_modules/eslint-plugin-promise
npm WARN   dev eslint-plugin-promise@"6.0.0" from the root project
npm WARN   1 more (eslint-config-standard)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint-plugin-promise@"^4.2.1 || ^5.0.0" from [email protected]
npm WARN node_modules/eslint-config-standard
npm WARN   dev eslint-config-standard@"16.0.3" from the root project
npm WARN   1 more (standard)
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint-plugin-promise
npm ERR!   dev eslint-plugin-promise@"6.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint-plugin-promise@"^4.2.1 || ^5.0.0" from [email protected]
npm ERR! node_modules/eslint-config-standard
npm ERR!   dev eslint-config-standard@"16.0.3" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

What did you expect to happen?
npm install not failing

Are you willing to submit a pull request to fix this bug?
Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions