Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React-native-reanimated: Unable to resolve "./useValue"

I am trying to build a react native app. I have caught an error on the terminal saying

Unable to resolve "./useValue" from "node_modules\react-native-reanimated\src\Animated.js"

I reinstalled react-native-reanimated to the expected version range.

`Some of your project's dependencies are not compatible with currently installed expo package version:

  • react-native-reanimated - expected version range: ~1.9.0 - actual version installed: ^1.10.1 Your project may not work correctly until you install the correct versions of the packages. To install the correct versions of these packages, please run: expo install [package-name ...]`

Thus, I run the code as follow: npm install [email protected], but still run into the error code.

I could realy use some help on this.

like image 899
Tiago Avatar asked Aug 02 '20 10:08

Tiago


1 Answers

try uninstalling the package ==> close ide (all instances) ==> open the ide ==> install the package again ==> run "expo start -c"

like image 112
D10S Avatar answered Oct 23 '22 03:10

D10S