Flipper & React Native
Flipper & React Native
Flipper
Flipper是一款用于调试移动应用程序的出色开发人员工具,在Android和iOS社区中颇受欢迎。
Flipper is a great developer tool for debugging mobile apps and quite popular in the Android and iOS communities.
https://github.com/facebook/flipper
React Native
CocoaPods bug & React Native & Error installing Flipper
https://github.com/facebook/react-native/issues/27565#issuecomment-651827994
https://github.com/facebook/flipper/issues/1321
https://github.com/facebook/react-native/issues/29251
$ pod install --verbose
stop, after installing here
$ pod install
CocoaPods bug & Error installing Flipper
Flipper-Folly
Error installing Flipper-Folly
$ cd ./design_pattern_app/ios && pod install
➜ ios git:(rn-app) ✗ pod install
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Downloading dependencies
Installing CocoaAsyncSocket (7.6.4)
Installing CocoaLibEvent (1.0.0)
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.63.3)
Installing FBReactNativeSpec (0.63.3)
Installing Flipper (0.54.0)
Installing Flipper-DoubleConversion (1.1.7)
Installing Flipper-Folly (2.3.0)
[!] Error installing Flipper-Folly
[!] /usr/bin/git clone https://github.com/facebook/folly.git /var/folders/qm/csrtpvpn62x82v4zykvsrnw80000gn/T/d20201028-52328-hfukp8 --template= --single-branch --depth 1 --branch v2020.04.06.00
Cloning into '/var/folders/qm/csrtpvpn62x82v4zykvsrnw80000gn/T/d20201028-52328-hfukp8'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
https://github.com/facebook/folly
Solution
多试几次,就好了
➜ src git:(rn-app) ✗ npx react-native init design_pattern_app
###### ######
### #### #### ###
## ### ### ##
## #### ##
## #### ##
## ## ## ##
## ### ### ##
## ######################## ##
###### ### ### ######
### ## ## ## ## ###
### ## ### #### ### ## ###
## #### ######## #### ##
## ### ########## ### ##
## #### ######## #### ##
### ## ### #### ### ## ###
### ## ## ## ## ###
###### ### ### ######
## ######################## ##
## ### ### ##
## ## ## ##
## #### ##
## #### ##
## ### ### ##
### #### #### ###
###### ######
Welcome to React Native!
Learn once, write anywhere
✔ Downloading template
✔ Copying template
✔ Processing template
✔ Installing CocoaPods dependencies (this may take a few minutes)
Run instructions for iOS:
• cd "/Users/xgqfrms-mbp/Documents/GitHub/23-design-patterns-app/src/design_pattern_app" && npx react-native run-ios
- or -
• Open design_pattern_app/ios/design_pattern_app.xcworkspace in Xcode or run "xed -b ios"
• Hit the Run button
Run instructions for Android:
• Have an Android emulator running (quickest way to get started), or a device connected.
• cd "/Users/xgqfrms-mbp/Documents/GitHub/23-design-patterns-app/src/design_pattern_app" && npx react-native run-android
Run instructions for Windows and macOS:
• See https://aka.ms/ReactNative for the latest up-to-date instructions.
➜ src git:(rn-app) ✗
refs
https://github.com/xgqfrms/React-Native-Tutorials/issues/13#issuecomment-651851826
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/13681265.html
未经授权禁止转载,违者必究!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
2019-09-16 git in depth
2019-09-16 git & Angular.js git commit 规范 All In One