Skip to content

[BUG] - I'm having an issue with... #79

@Bilal-Abdeen

Description

@Bilal-Abdeen

Describe the bug
I am trying to install this wonderful library on an iOS machine (10.15.5.) I got the error messages below.

When installing on MS Windows 10, the installation finishes successfully. It gives a warning about the presence of a new version of react-native-vector-icons than required. However, it works fine.

Error:

npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: <MyProjectName>
npm ERR! Found: react-native-vector-icons@8.1.0
npm ERR! node_modules/react-native-vector-icons
npm ERR!   react-native-vector-icons@"^8.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react-native-vector-icons@"^4.*" from react-native-numeric-input@1.9.0
npm ERR! node_modules/react-native-numeric-input
npm ERR!   react-native-numeric-input@"*" 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/<MyUserName>/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/<MyUserName>/.npm/_logs/2021-07-09T08_43_40_376Z-debug.log

To Reproduce
npm install --save react-native-vector-icons
npm install --save react-native-numeric-input

Enviorment:

  • Version: the latest vesrion, which is available through the install command above - I suppose it is 1.8.3
  • React Native version: 0.64.2
  • Device: iOS simulator 14.4
  • Development Platform: iOS 10.15.5

Additional Information
As the error message says, react-native-vector-icons version 8.1.0 is installed. I tried to install an earlier version 4.6.0. I got error messages regarding the dependency for other libraries, i.e. react-native-elements.

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