Skip to content

Unable to resolve dependency #108

Open
@JoaquimEsteves

Description

@JoaquimEsteves

Hullo, recently tried to add this plugin to a project only to be faced with some
dependency issue shenanigans

Error Log:
$ npm install --save-dev eslint-plugin-you-dont-need-momentjs
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: <Project Name>
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^7.19.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^5.5.0" from [email protected]
npm ERR! node_modules/eslint-plugin-you-dont-need-momentjs
npm ERR!   dev eslint-plugin-you-dont-need-momentjs@"*" 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.

I don't particularly feel like forcing the install, and help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions