Skip to content

unable to resolve depdency tree REACT@17.0.2 #5

Open

Description

@ondrovic

Unable to install when using react@17.02

npm i --save-peer use-dynamic-refs
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @dbi-services/library@1.0.95
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! peer react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0" from use-dynamic-refs@1.0.0
npm ERR! node_modules/use-dynamic-refs
npm ERR! peer use-dynamic-refs@"*" 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.

Activity

  1. StevenStavrakis commented on Feb 7, 2022

    @StevenStavrakis

    same issue

  2. ashish1497 commented on Apr 28, 2022

    @ashish1497

    Caused because this package is not updated. add --legacy-peer-deps when installing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions