In the base directory of the project, I run:
node_modules/react-native/packager/packager.sh --reset-cache
The result is:
Scanning 554 folders for symlinks in /Users/..../work/..../react_tutorial/AwesomeProject/node_modules (15ms) ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β Running packager on port 8081. β β β β Keep this packager running while developing on any JS projects. Feel β β free to close this tab and run your own packager instance if you β β prefer. β β β β https:
I found that the package manager cannot work when another package process is running.
I found that the process works with:
lsof -i :8081
Than I kill 9 ... process.
After I closed Xcode, run:
npm install
And Xcode started again, from that moment everything works as expected !!
Oded Regev Feb 05 '17 at 8:26 2017-02-05 08:26
source share