Failed to install 'cordova-plugin-app-preferences': Error: Cannot find module 'xcode' code example
Example: Cannot find module '../xcode' Require stack
If you are trying to open expo cli - React Native the solution is here:
https://stackoverflow.com/questions/64381374/cannot-find-module-xcode-require-stack-react-native-expo-cli/64381420#64381420