Tiago
Tiago

Reputation: 121

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:

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.

Upvotes: 5

Views: 6687

Answers (2)

ATQSHL
ATQSHL

Reputation: 391

Only do this:

expo start --clear

From Expo Documentation at Expo Start command.

--clear, -c | Clear the React Native Packager cache.

Upvotes: 4

D10S
D10S

Reputation: 1549

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

Upvotes: 7

Related Questions