Please make sure, that you have git installed. NPM requires git for installing some of the packages. You can check if git is installed via:
git --version
If so, according to the reported issue, removing and reinstalling node_modules should help:
rm -rf node_modules && npm install
You can also try to resolve the issue with yarn:
brew install yarn
npm uninstall -g create-react-native-app
yarn global add create-react-native-app
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…