Unable to build React Native Project
Starting out with a new React Native project, I kept running into a really frustrating error message:
Command PhaseScriptExecution failed with a nonzero exit code
After trying many different solutions, cleaning the build, deleting and reinstalling the pods and node_modules folders amongst other things, I came across a stack overflow post linking to this article regarding file limits in watchman. Making this change worked for me on an M1 Mackbook Pro – but I was running macOS 15.1.