Skip to content

Error to install dependency on RN 0.71.1 #100

Description

@arlovip

To install this package on React Native 0.71.1(the lastest version), but I got the error as follows:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: jye@0.0.1
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.3.1" from react-native-spring-scrollview@4.0.0-dev-0
npm ERR! node_modules/react-native-spring-scrollview
npm ERR!   react-native-spring-scrollview@"*" 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.
npm ERR! 
npm ERR! See /Users/chenlong/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/chenlong/.npm/_logs/2023-02-03T07_43_19_149Z-debug-0.log

It seems that the react version is too low. Is there a plan to publish a new version to update the react version? Thank U.

Activity

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