Closed alizahid closed 3 years ago
First bug looks like this reanimated error: https://github.com/software-mansion/react-native-reanimated/issues/1546
Second one looks like something someone else brought up to me, but they only experienced it with RN 0.64...I’ll see if I can find anything.
Are you using bare expo or vanilla RN? I've had no problems with Expo managed/bare, so I think it's related to Reanimated. Reanimated still has many quirks and bugs like this for installation it seems.
Could you create a reproduction repo?
Feel free to try the starter app from the docs to create a repro.
npx create-react-native-app -t with-moti
This might also be a caching issue. That's often it. Make sure you hard reset npm packages, clear all watchmen, reinstall, and expo start -c
etc
Did all the cleaning ... Same error "Tried to synchronously call function {assign} from a different thread...etc" using Bare RN 0.64.0-rc.3 and Renimated 2.0.0-rc.3
Can you use the starter and try to recreate it?
i have same problem. react native 0.63.4
With vanilla RN?
Yes with Vanilla RN. 0.63.4 and 0.64.rc-3 i could only get it to work when i created a new project using the starter
That makes me think there's some sort of issue with Reanimated. Could you try all forms of clearing cache, deleting Reanimated, re-installing it, etc.?
I got this issue too, I tracked it down to the object speard in the use-map-animate-to-style.ts
file and changed that to Object.assign
instead, it works for me but please try it out and see if it resolves your issue!
This should be fixed in the latest version of moti (anything above 0.5.8
)!
Please try yarn add moti
and let me know if it works.
moti
0.6.0
works out of the box with react-native-reanimated
2.0.0
without a hitch!
I'm using moti 0.14.2 and react-native-reanimated 2.1.0 and I'm getting the same error.
Could you give more info? Try reanimated 2.2? Does it work without moti but with just reanimated?
I am using reanimated 2.2 and it is working fine but when I use Moti, it gives me error of (evaluating '_$$_REQUIRE(_dependencyMap[4], "moti").MotiView')
are you on the latest moti? make sure you don’t have any dependencies that start with @motify/
I recommend upgrading reanimated to 2.3
I am using reanimated 2.2 and it is working fine but when I use Moti, it gives me error of (evaluating '_$$_REQUIRE(_dependencyMap[4], "moti").MotiView')
getting same error
Hey,
I can't seem to get
moti
working. I've tried it on both Expo and bare React Native project.I've tried
react-native-reanimated
RC0, RC2, RC3. I'm onmoti v0.4.1
.I've added
react-native-reanimated/plugin
to my Babel config.But I get different errors with different versions.
Bare React Native with RC2
Bare React Native with RC0
What am I missing? I'm using
16.13.1
for React and0.63.4
for React Native.