WrathChaos / react-native-apple-card-views

Customizable and perfect clone of Apple, App Store Card Views for React Native.
https://www.freakycoder.com
MIT License
402 stars 25 forks source link

Error while installing the library #22

Closed prox2 closed 3 years ago

prox2 commented 3 years ago

I got this error while installing the library i have installed the Peer Dependencies then when I tiered npm i react-native-apple-card-views I got the following error

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: newApp@0.0.1
npm ERR! Found: @freakycoder/react-native-bounceable@0.2.4
npm ERR! node_modules/@freakycoder/react-native-bounceable
npm ERR!   @freakycoder/react-native-bounceable@"^0.2.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @freakycoder/react-native-bounceable@"^0.1.1" from react-native-apple-card-views@2.1.2
npm ERR! node_modules/react-native-apple-card-views
npm ERR!   react-native-apple-card-views@"*" 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.

Package.json:

"dependencies": {
    "@freakycoder/react-native-bounceable": "^0.2.4",
    "@react-native-community/async-storage": "^1.12.1",
    "@react-native-community/masked-view": "^0.1.10",
    "@react-native-firebase/app": "^11.1.0",
    "@react-native-firebase/auth": "^11.1.0",
    "@react-native-firebase/firestore": "^11.1.0",
    "@react-native-firebase/storage": "^11.1.0",
    "@react-native-google-signin/google-signin": "^6.0.0",
    "@react-navigation/bottom-tabs": "^5.11.2",
    "@react-navigation/drawer": "^5.11.4",
    "@react-navigation/material-top-tabs": "^5.3.14",
    "@react-navigation/native": "^5.9.3",
    "@react-navigation/stack": "^5.12.8",
    "react": "16.13.1",
    "react-native": "0.63.4",
    "react-native-action-button": "^2.8.5",
    "react-native-androw": "^0.0.34",
    "react-native-animatable": "^1.3.3",
    "react-native-fbsdk": "^3.0.0",
    "react-native-gesture-handler": "^1.10.3",
    "react-native-image-helper": "^0.0.3",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-notification-banner": "^2.0.0",
    "react-native-onboarding-swiper": "^1.1.4",
    "react-native-paper": "^4.5.0",
    "react-native-reanimated": "^1.13.2",
    "react-native-safe-area-context": "^3.2.0",
    "react-native-screens": "^2.18.1",
    "react-native-share": "^5.1.0",
    "react-native-swipe-list-view": "^3.2.5",
    "react-native-swiper": "^1.6.0",
    "react-native-tab-view": "^2.16.0",
    "react-native-vector-icons": "^7.1.0",
    "react-navigation-drawer": "^2.6.0",
    "react-navigation-stack": "^2.10.2",
    "reanimated-bottom-sheet": "^1.0.0-alpha.22",
    "styled-components": "^5.2.1"
  },
WrathChaos commented 3 years ago

Hello @prox2,

Can you try this version: Version 2.1.3

I also updated the example.

Thank you so much for reporting this issue.

It should solve this bug :)