Saya mengikuti panduan pemula dari halaman asli reaksi. Saat menjalankan perintah react-native run-ios
saya mendapatkan kesalahan berikut:
watchman--no-pretty get-sockname returned with exit code null dyld: Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib
Referenced from: /usr/local/Cellar/watchman/4.5.0/libexec/bin/watchman
Reason: image not found
ERROR watchman--no-pretty get-sockname returned with exit code null dyld: Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib
Referenced from: /usr/local/Cellar/watchman/4.5.0/libexec/bin/watchman
Reason: image not found
Error: watchman--no-pretty get-sockname returned with exit code null dyld: Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib
Referenced from: /usr/local/Cellar/watchman/4.5.0/libexec/bin/watchman
Reason: image not found
sistem saya: macos 10.11.6, simpul 6.2.2
solusi disini
Komentar yang paling membantu
solusi disini
https://github.com/facebook/react-native/issues/2941