loading...

re: Tutorial: How to share code between iOS, Android & Web using React Native, react-native-web and monorepo VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thanks Rajendran i tried adding the above as part of config-overrides.js it didn't helped. BTW, i`ve executed 'sudo yarn add @react-native-commun...

An update...
i had to add two more dev dependencies under the web module.
sudo yarn add --dev babel-loader
sudo yarn add --dev @babel/preset-flow

now i am getting different error:
/react-native-web-monorepo/node_modules/@react-native-community/google-signin/src/GoogleSigninButton.js
Attempted import error: 'requireNativeComponent' is not exported from 'react-native'.

Code of Conduct Report abuse