DEV Community

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

Collapse
 
bantinggamer profile image
bantingGamer • Edited

HELP! this is the 6th time i have tried to replicate this tutorial, but something changed and i cannot replicate this tutorial anymore. i cannot get past the first time you are testing android studio. I remember something like --version react-native@next that is now missing from this tutorial. and now i cannot replicate it at all some one please help.

the error reads "Unable to resolve module ./packages/mobile/index"

Collapse
 
bantinggamer profile image
bantingGamer

how many changes occurrences of node_modules/react-native/ are you replacing with ../../node_modules/react-native/ vscode picks up 26 places where i change it. is this correct?

Thread Thread
 
bantinggamer profile image
bantingGamer • Edited

i cannot get it to work please assist.
Error: Unable to resolve module ./packages/mobile/index from E:\2019_PROJECTS\moco-messenger-project\code\repo\wepay4\packages\mobile/.: The module ./packages/mobile/index could not be found from E:\2019_PROJECTS\moco-messenger-project\code\repo\wepay4\packages\mobile/..