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.

undefined is not an object (evaluating 'RNFetchBlob.DocumentDir')

See original GitHub issue

package.json:

{
  "name": "empty-project-template",
  "main": "node_modules/expo/AppEntry.js",
  "private": true,
  "rnpm": {
    "assets": [
      "assets/Fonts"
    ]
  },
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "eject": "expo eject"
  },
  "dependencies": {
    "expo": "30.0.0",
    "react": "16.3.1",
    "react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
    "react-native-pdf": "^5.0.9",
    "react-native-svg-charts": "^5.2.0",
    "react-native-vector-icons": "^6.0.2",
    "react-redux": "^5.0.7",
    "redux": "^4.0.0",
    "rn-fetch-blob": "^0.10.13"
  }
}

app.json:

{
  "expo": {
    "name": "name",
    "description": "This project is really great.",
    "slug": "name",
    "privacy": "public",
    "sdkVersion": "30.0.0",
    "platforms": [
      "ios",
      "android"
    ],
    "version": "1.0.0",
    "icon": "./assets/Icons/icon.png",
    "splash": {
      "image": "./assets/Images/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "com.example.new"
    },
    "android": {
      "package": "com.example.new"
    }
  }
}

photo_2018-10-24_15-30-59

I use expo.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
yll090commented, Nov 15, 2018

For anyone having this issue – check if the link actually worked. In my case it didn’t, so I had to do it manually.

0reactions
vitoliparicommented, Sep 21, 2020

same +1

Read more comments on GitHub >

github_iconTop Results From Across the Web

undefined is not an object (evaluating 'RNFetchBlob ... - GitHub
my project is swift with pod, i already add #import in my headers, it always that "undefined is not an object (evaluating 'RNFetchBlob....
Read more >
Null is not an object (evaluating 'RNFetchBlob.DocumentDir ...
I'm using Expo and try to download files using react-native-fetch-blob import RNFetchBlob ...
Read more >
iOS : React Native Fetch Blob - undefined is not an ... - YouTube
iOS : React Native Fetch Blob - undefined is not an object ( evaluating ' RNFetchBlob.DocumentDir ') [ Beautify Your Computer ...
Read more >
Ios – React Native Fetch Blob – undefined is not an ... - iTecNote
Ios – React Native Fetch Blob – undefined is not an object (evaluating 'RNFetchBlob.DocumentDir'). fetchiosreact-nativereact-native-fetch-blob ...
Read more >
[Solved]-React Native Fetch Blob - undefined is not an object ...
Coding example for the question React Native Fetch Blob - undefined is not an object (evaluating 'RNFetchBlob.DocumentDir')-React Native.
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