I installed reanimated v2 to my react-native-web project and received this error.
Module not found: Can't resolve 'react-native/Libraries/Utilities/setAndForwardRef' in '/Users/hosseinmohammadi/Documents/GitLab/poolkhord/node_modules/react-native-reanimated/src'
1.
Hi! This error is more a problem of react-native-web, but still Reanimated here uses some private ReactNative API. You can submit a PR that extracts this util to Reanimated or avoids using it if it's possible.
Hi! This error is more a problem of react-native-web, but still Reanimated here uses some private ReactNative API. You can submit a PR that extracts this util to Reanimated or avoids using it if it's possible.
Done, Please check it
In the meantime, while you're waiting for this PR to get merged, you can use patch-package to fix it locally.