Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React Native Getting this error 'Unrecognized operator abs'

enter image description here

Getting this error when adding react-navigation-drawer to my expo project, any idea how to fix this?

like image 836
user13142973 Avatar asked Aug 08 '20 13:08

user13142973


2 Answers

Faced this error few days back, I was able to fix it by running:

expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view
like image 158
Goskula Jayachandra Avatar answered Oct 29 '22 19:10

Goskula Jayachandra


It is library version issue. Don't use 'yarn add react-native-gesture-handler react-native-reanimated' It will add [email protected] [email protected]

Use 'expo install react-native-gesture-handler react-native-reanimated' It will add react-native-gesture-handler@~1.6.0 react-native-reanimated@~1.9.0

like image 4
FerntreeGuy Avatar answered Oct 29 '22 20:10

FerntreeGuy