Installation failed with "Exit code: 128" for latest "react-native-gesture-handler@1.5.6"
See original GitHub issueI am trying to install the latest version in react-native-gesture-handler
using yarn add react-native-gesture-handler
but the yarn
hangs out on hammerjs
.
Terminal output:
$ yarn add react-native-reanimated react-native-gesture-handler
yarn add v1.21.1
[1/4] 🔍 Resolving packages...
error Command failed.
Exit code: 128
Command: git
Arguments: clone https://github.com/naver/hammer.js.git /Users/(user-name)/Library/Caches/Yarn/v6/.tmp/9ee0a27027db93fad58e8dddb6592fbc
Directory: /Users/(user-name)/Documents/ReactNative/Projects/VacancyReward
Output:
Cloning into '/Users/(user-name)/Library/Caches/Yarn/v6/.tmp/9ee0a27027db93fad58e8dddb6592fbc'...
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Dependencies
“react”: “16.9.0”, “react-native”: “0.61.5”, “react-native-gesture-handler”: “1.5.6”
For now, using the older version i.e. "react-native-gesture-handler": "1.5.3"
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Getting react-native-gesture-handler module was not found ...
When running the debugging(react-native run-ios) for IOS, the above error is occurring on react-native-gesture-handler.
Read more >react-native-gesture-handler - npm
Experimental implementation of a new declarative API for gesture handling in react-native. Latest version: 2.8.0, last published: 2 months ...
Read more >Installation | React Native Gesture Handler - Software Mansion
Since the library uses native support for handling gestures, it requires an extended installation to the norm. If you are starting a new...
Read more >Getting started - React Navigation
Installing dependencies into an Expo managed project. In your project directory, run: npx expo install react-native-gesture-handler react-native-reanimated ...
Read more >How to use the react-native-gesture-handler.State.FAILED ...
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same error here:
42 error errno -4058 43 error enoent Error while executing: 43 error enoent undefined ls-remote -h -t https://github.com/naver/hammer.js.git 43 error enoent 43 error enoent 43 error enoent spawn git ENOENT 44 error enoent This is related to npm not being able to find a file. 45 verbose exit [ -4058, true ]
yarn add react-native-gesture-handler@1.4.0 solved for now.