I\'m trying to get up and running with React Native and I am seeing the message below in Xcode:
Port 8081 already in use, packager is either not running
If you do lsof -n -i4TCP:8081
as recommended in Facebook's troubleshooting page and get an empty result, try again using sudo lsof -n -i4TCP:8081
.
In my case, it turns out McAfee anti-virus software is running process that listens on that port. Killing that process (I know, I know!) fixed the problem.