Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setAndForwardRef is removed from React Native 0.72 that you are using. #213

Open
ghulamrasuldev opened this issue Dec 28, 2023 · 2 comments

Comments

@ghulamrasuldev
Copy link

Unable to resolve module react-native/Libraries/Utilities/setAndForwardRef from /Users/ghulamrasuldev/Desktop/Work/525scp/node_modules/@react-native-community/checkbox/dist/CheckBox.ios.js: react-native/Libraries/Utilities/setAndForwardRef could not be found within the project or in these directories:
node_modules/@react-native-community/checkbox/node_modules

Because setAndForwardRef is removed from the latest React Native Version 0.72. So the app is crashing.

@Tiepbm
Copy link

Tiepbm commented Jan 17, 2024

I also got the same error.

@Tiepbm
Copy link

Tiepbm commented Jan 17, 2024

Unable to resolve module react-native/Libraries/Utilities/setAndForwardRef from /Users/ghulamrasuldev/Desktop/Work/525scp/node_modules/@react-native-community/checkbox/dist/CheckBox.ios.js: react-native/Libraries/Utilities/setAndForwardRef could not be found within the project or in these directories: node_modules/@react-native-community/checkbox/node_modules

Because setAndForwardRef is removed from the latest React Native Version 0.72. So the app is crashing.

you can try update version 0.5.17. It worked. My react native version 0.73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants