JesperLekland / react-native-svg-charts

📈 One library to rule all charts for React Native 📊
MIT License
2.34k stars 398 forks source link

INCOMPATIBILIDADE react-native-svg E react-native-svg-charts #608

Open WilliamHeleodoro opened 9 months ago

WilliamHeleodoro commented 9 months ago

Olá. Estou com um problema de incompatibilidade nas versões. Quando dou um npm install ele perde uma versão do react-native-svg: 6.2.1||^7.0.3 Porém se coloco nessa versão ele da erro no carregamento do Circle e outros componentes do react-native-svg devido a utilizar proptypes, acredito que esteja sendo descontinuado as proptypes.

Se eu volto para a versão 13.9.0 do react-native-svg da certo, porém quando vou gerar uma apk pelo expo, da erro nas dependências. Consegue me ajudar como posso resolver isso?

rohith-thummanapally commented 8 months ago

hey, i am also gettting similar issue , were you able to resolve it, if so , can you explain how have you resolved it

Ohmniox commented 8 months ago

Yes, I am also getting the same error. I need the latest version of react-native-svg (^14.1.0) and when I try to install this package, it fails with error:

Could not resolve dependency:
npm ERR! peer react-native-svg@"^6.2.1||^7.0.3" from react-native-svg-charts@5.4.0
Wolk9 commented 6 months ago

Somone should change the dependency to:

{
   "react-native-svg": ">=13.9.0"
   .....
}

as Expo needs this version at least, and this repo doesn't seem to break with this version of react-native-svg

zhenjianlee commented 6 months ago

I am having the same issue. Does anyone have a solution to this?

mpaulbrown21 commented 6 months ago

Also having this issue

salahbm commented 5 months ago

Same here, having this issue with react-native-svg latest version...

salahbm commented 5 months ago

However, npm install --save react-native-svg-charts --legacy-peer-deps does a trick with some npm errors....

gaboAcosta commented 4 months ago

So, this package is abandoned correct?