I am new to React Native. I used react-native init XXX to create a new project. When launch the xcodeproj, I got an error saying:
react-native init XXX
const setupE
Seeing as this is the top result in Google while searching for this error, the following is the only thing that worked for me.
I had to uninstall node (that was previously installed with the pkg from the Node website), uninstall nvm and reinstall node with Brew.
Link for more information.