Good question! Here is a snippet from my package.json. I had the same issue building locally, and I’m not sure why.
...
"dependencies": {
"@azure/core-asynciterator-polyfill": "^1.0.2",
"@babel/preset-env": "^7.1.6",
"@react-native-async-storage/async-storage": "1.18.2",
"@react-native-community/netinfo": "9.3.10",
"@react-native-community/push-notification-ios": "react-native-community/push-notification-ios",
...
}