question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`react-native link` hangs when react-native-fetch-blob is a dependency

See original GitHub issue

Hello!

  • please provide the version of installed library and RN project.

react-native-fetch-blob@0.10.8 react-native@0.55.2

I’ve tried this on both node 6 and 8.

  • a sample code snippet/repository
✗ react-native link
Scanning folders for symlinks in /home/brandon/src/DocentReact/node_modules (5ms)
rnpm-install info Platform 'ios' module react-native-background-timer is already linked
rnpm-install info Platform 'android' module react-native-background-timer is already linked
rnpm-install info Platform 'android' module react-native-billing is already linked
rnpm-install info Platform 'ios' module react-native-blur is already linked
rnpm-install info Platform 'android' module react-native-blur is already linked
rnpm-install info Platform 'ios' module react-native-device-info is already linked
rnpm-install info Platform 'android' module react-native-device-info is already linked
RNFetchBlob checking app version ..
RNFetchBlob detected app version => 0.55
Add Android permissions => false
react-native-fetch-blob will not automatically add Android permissions after 0.9.4 please run the following command if you want to add default permissions :

        RNFB_ANDROID_PERMISSIONS=true react-native link

rnpm-install info Platform 'ios' module react-native-fetch-blob is already linked
rnpm-install info Platform 'android' module react-native-fetch-blob is already linked
rnpm-install info Platform 'ios' module react-native-maps is already linked
rnpm-install info Platform 'android' module react-native-maps is already linked
rnpm-install info Platform 'ios' module react-native-sound is already linked
rnpm-install info Platform 'android' module react-native-sound is already linked
rnpm-install info Platform 'ios' module react-native-svg is already linked
rnpm-install info Platform 'android' module react-native-svg is already linked
rnpm-install info Platform 'ios' module react-native-view-overflow is already linked
rnpm-install info Platform 'android' module react-native-view-overflow is already linked
rnpm-install info Linking assets to ios project
rnpm-install info Linking assets to android project
rnpm-install info Assets have been successfully linked to your project
<--- must press enter here to continue

Removing react-native-fetch-blob as a dependency does not produce this behavior.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:11

github_iconTop GitHub Comments

3reactions
blbradleycommented, May 22, 2018

Interesting, this behavior does not occur in Node 10.

1reaction
blbradleycommented, Jun 23, 2018

I’m going to close this issue. I originally opened it because I thought react-native link was required to for a new app build. The issue being fixed in Node 10 should be sufficient.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-fetch-blob - npm
A module provides upload, download, and files access API. Supports file stream read/write for process large files.. Latest version: 0.10.8, ...
Read more >
React-Native assembleRelease fails for task - Stack Overflow
First: react-native bundle --platform android --dev false --entry-file index.js --bundle-output ...
Read more >
react-native-fetch-blob-latest - npm package - Snyk
Looks like react-native-fetch-blob-latest is missing a security policy. You can connect your project's repository to Snyk to stay up to date on ...
Read more >
10 React Native Fetch Blob Best Practices - CLIMB
This ensures that the request will not hang indefinitely if there is an issue with the server or network connection. Without a timeout,...
Read more >
React Native - Upload Image to PHP Server - YouTube
React Native - Upload Image to PHP ServerIn this tutorial, ... server using react-native -image-picker and react-native-fetch-blob library.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found