0

i have a code that write with react-native-reanimated but now because of react native version it's not working so what should i do , i have go and tru to install react-native-reanimated@2.3.0-alpha.2 but i I didn't succeed . please any one have solve it or have a simple way to install it

when i install it gives me this :

:and when i remove it like then

Boss4 Media
  • 1
  • 1
  • 1

1 Answers1

0

I suppose you are using react native v0.65. and because of that you can only use reanimated v2.3.0alpha3. after doing that close your metro bundler and then rebuild the project using npm run android

Alireza Hadjar
  • 450
  • 4
  • 10
  • thanks for answering , i try that but it didnt work . for real idk if it does not work because the reanimated v2.3.0alpha3. or i installed it in a wrong way .but i tried and it give the same error . – Boss4 Media Sep 09 '21 at 13:39
  • You probably didn't follow the instruction correctly – Alireza Hadjar Sep 09 '21 at 15:43