ERROR spawn watchman EAGAIN Simulator cannot run

iOS project xcode simulator does not work, and finally locates the problem in the start startup times error:

clipboard.png
png](/img/bVbcf8y)

:

clipboard.png

according to the error query results are as follows:
1. Delete the bundle folder under the ios directory, re-execute react-native run-ios startup-invalid
2, delete the node_modules folder, Re-execute npm install download dependency (dependent version problem / incomplete download, etc.)-invalid
3, network agent problem (global agent becomes automatic agent)-invalid
4, shut down simulator reopen-invalid

also ask for your help

Mar.19,2021

if you are new to react-native, it is necessary to take a look at my article ( Portal ) and see Section 3 on ios processing. I was almost driven crazy at that time.

after executing the script, you need to turn off the iphone simulator and the terminals cut out of the program, and then re-run-ios

Menu