Xcode and React Native love to complain about errors. I've found that with certain projects need this additional configuration step in order for it to actually run.
Here's what to do:
- Remove all currently installed node modules and caches, and re-install them.
rm -rf node_modules/ && yarn cache clean && yarn install rm -rf ~/.rncache