mgcrea / react-native-dnd

Modern and easy-to-use drag&drop library for react-native.
https://mgcrea.github.io/react-native-dnd/
MIT License
135 stars 12 forks source link

Property '_worklet_init_data2' doesn't exist #13

Closed amitchaudhary140 closed 7 months ago

amitchaudhary140 commented 8 months ago

I have installed the library and I have been getting this error. I have expo managed project.

image

I am not sure if it has anything to do with this error:

ERROR Error: [Reanimated] Mismatch between JavaScript part and native part of Reanimated (3.5.4 vs 3.3.0). See https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#mismatch-between-javascript-part-and-native-part-of-reanimated for more details., js engine: hermes

Because of the above error, I also downgraded the version to 3.3.0 but still the main issue persists. I even created new Expo project and tried, but same error.

amitchaudhary140 commented 8 months ago

@mgcrea Any help is highly appreciated.

Thomsr commented 7 months ago

I have the same issue

mgcrea commented 7 months ago

Just encountered this as well on a new app, worked fine at first but failed at some point and did not manage to recover it. Looks like metro is having issues processing the built files at some point.

I did revert to the former simple build with tsc and everything should be working again now, just released the https://github.com/mgcrea/react-native-dnd/releases/tag/1.9.0

Hope it works for you as well.