# RN 常见问题锦集

# Command yarn add react-native --exact failed

npm config set registry https://registry.npm.taobao.org
npm config set disturl https://npm.taobao.org/dist

# react-native run-ios失败

1, 8081 端口被占用

The following build commands failed:
	PhaseScriptExecution Start\ Packager /Users/hailiting/Desktop/Tea/githubRN/ios/build/githubRN/Build/Intermediates.noindex/githubRN.build/Debug-iphonesimulator/githubRN.build/Script-FD10A7F022414F080027D42C.sh
(1 failure)