ytxbnahn / blog

my blog
1 stars 0 forks source link

react-native 学习笔记 #11

Open ytxbnahn opened 6 years ago

ytxbnahn commented 6 years ago

安装

参考链接

问题

react-native run-ios 报错

Failed to connect to github-production-release-asset-2e65be.s3.amazonaws.com port 443: Operation timed out xcode 点击info.plist

解决

参考链接

react-native run-ios 报错

error: PCH was compiled with module cache path '/Users/guomai/Desktop/project/private/react-native/ReactStart/ios/build/ModuleCache/15IKYQ49IXHLP', but the path is currently '/Users/guomai/Desktop/project/private/ReactNative/ReactStart/ios/build/ModuleCache/15IKYQ49IXHLP

解决

xcode product->clean

注意

安装使用yarn 不是用npm 安装不同版本包可能报错