- cd into this directory
cd RNapp && npm install --no-optional && cd ..(otherwise you will get an error that@scope/uicould not be found. if you want to use yarn, make sure to remove@scope/uimodule from thepackage.jsonbefore runningyarn, you can add it back after the command has finished)mkdir RNapp/node_modules/@scope && cd RNapp/node_modules/@scope && ln -s ../../../ scoped-module ui && cd ../../yarn start- run XCode and try the app
- shut down the running instance of metro
- cd into this directory
mv RNapp/node_modules/@scope/ui RNapp/node_modules/@scope/linked-uicp -r scoped-module RNapp/node_modules/@scope/u icd RNapp && yarn start --reset-cache- run XCode and try the app