DEV Community

Discussion on: 🔥🔥🔥 Develop Android Apps using React-native: Setup on Mac M1 and troubleshooting

Collapse
 
dkardell profile image
Dan Kardell

So next issue. Running doctor produces..

npx react-native doctor
⠦ Running diagnostics...error Reduce of empty array with no initial value.
TypeError: Reduce of empty array with no initial value
at Array.reduce (<anonymous>)
at Object.getDiagnostics (/Users/km2t7x72tn/Projects/DoneWithIt/node_modules/@react-native-community/cli-doctor/build/tools/healthchecks/xcodeEnv.js:86:8)