Flipper: Error installing Flipper

Created on 30 Jun 2020  路  10Comments  路  Source: facebook/flipper

馃悰 Bug Report

Error installing Flipper

https://github.com/facebook/Sonar

https://github.com/facebook/flipper

To Reproduce

  1. create app using npx npx react-native init RN_APP

  2. manually install cocoa pod cd ./RN_APP/ios && pod install

$ cd ./RN_APP/ios && 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.62.2)
Installing FBReactNativeSpec (0.62.2)
Installing Flipper (0.33.1)

[!] Error installing Flipper
[!] /usr/bin/git clone https://github.com/facebook/Sonar.git /var/folders/qm/csrtpvpn62x82v4zykvsrnw80000gn/T/d20200630-26546-1ylsi42 --template= --single-branch --depth 1 --branch v0.33.1

Cloning into '/var/folders/qm/csrtpvpn62x82v4zykvsrnw80000gn/T/d20200630-26546-1ylsi42'...
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

Environment

# react-native info
$ npx react-native info

info Fetching system and libraries information...
System:
    OS: macOS 10.15.5
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 254.59 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.18.0 - ~/.nvm/versions/node/v12.18.0/bin/node
    Yarn: 1.22.4 - ~/.yarn/bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v12.18.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.0 AI-193.6911.18.40.6514223
    Xcode: 11.5/11E608c - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.2 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0 
    react-native: 0.62.2 => 0.62.2 
  npmGlobalPackages:
    *react-native*: Not Found


https://github.com/facebook/react-native/issues/29251

Most helpful comment

@cekkaewnumchai Anyway, thanks a lot!

I don't know why, but it's OK now.
After a few days later, I installed expo-cli.
Maybe it's my networks problem, who knows.

image

https://github.com/xgqfrms/React-Native-Tutorials/issues/16

All 10 comments

$ pod install

$ pod install --verbose

https://github.com/facebook/react-native/issues/29251

stop, after installing here

image

I can't reproduce this. It seems to redirect to correct git for me. Would you mind take a look @priteshrnandgaonkar?

One this to note is Flipper version is too old now. Could you try changing it to 0.49.0 and try pod install --repo-update to see if it solves the problem?

@cekkaewnumchai Anyway, thanks a lot!

I don't know why, but it's OK now.
After a few days later, I installed expo-cli.
Maybe it's my networks problem, who knows.

image

https://github.com/xgqfrms/React-Native-Tutorials/issues/16

@xgqfrms I have the same problem with you锛宒o you know how to solve it?

Analyzing dependencies Fetching podspec forDoubleConversionfrom../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec Fetching podspec forFollyfrom../node_modules/react-native/third-party-podspecs/Folly.podspec Fetching podspec forglogfrom../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.1)
Installing FBReactNativeSpec (0.63.1)
Installing Flipper (0.41.5)

[!] Error installing Flipper
[!] /usr/bin/git clone https://github.com/facebook/Sonar.git /var/folders/g4/drnv501d1mq8qfv478_355940000gn/T/d20200722-15820-9tf26p --template= --single-branch --depth 1 --branch v0.41.0

Cloning into '/var/folders/g4/drnv501d1mq8qfv478_355940000gn/T/d20200722-15820-9tf26p'...
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed`

@xgqfrms I have the same problem with you锛宒o you know how to solve it?

Analyzing dependencies Fetching podspec forDoubleConversionfrom../node_modules/react-native/third-party-podspecs/DoubleConversion.podspecFetching podspec forFollyfrom../node_modules/react-native/third-party-podspecs/Folly.podspecFetching podspec forglogfrom../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.1)
Installing FBReactNativeSpec (0.63.1)
Installing Flipper (0.41.5)

[!] Error installing Flipper
[!] /usr/bin/git clone https://github.com/facebook/Sonar.git /var/folders/g4/drnv501d1mq8qfv478_355940000gn/T/d20200722-15820-9tf26p --template= --single-branch --depth 1 --branch v0.41.0

Cloning into '/var/folders/g4/drnv501d1mq8qfv478_355940000gn/T/d20200722-15820-9tf26p'...
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed`

There may be a network problem, try another network!

@xgqfrms I have the same problem with you锛宒o you know how to solve it?

Analyzing dependencies Fetching podspec forDoubleConversionfrom../node_modules/react-native/third-party-podspecs/DoubleConversion.podspecFetching podspec forFollyfrom../node_modules/react-native/third-party-podspecs/Folly.podspecFetching podspec forglogfrom../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.1)
Installing FBReactNativeSpec (0.63.1)
Installing Flipper (0.41.5)

[!] Error installing Flipper
[!] /usr/bin/git clone https://github.com/facebook/Sonar.git /var/folders/g4/drnv501d1mq8qfv478_355940000gn/T/d20200722-15820-9tf26p --template= --single-branch --depth 1 --branch v0.41.0

Cloning into '/var/folders/g4/drnv501d1mq8qfv478_355940000gn/T/d20200722-15820-9tf26p'...
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed`

Hi Did u solve the issue? I met the same problem.

Is network problem, you need to install repeatedly and wait patiently

^sadly this seems to be the answer

Was this page helpful?
0 / 5 - 0 ratings

Related issues

orlandobustamantep picture orlandobustamantep  路  3Comments

mune0903 picture mune0903  路  4Comments

richardtop picture richardtop  路  3Comments

usrbowe picture usrbowe  路  4Comments

Murtaza-arif picture Murtaza-arif  路  3Comments