Comments (23)
@CoreyBovalina If you're using yarn
then can you try this?
- Add this to
package.json
"resolutions": {
"react-native-blob-util": "0.13.17"
},
- Add [email protected] as a dependency
- Delete
node_modules
and runyarn install
again
from react-native-blob-util.
I fixed sth that could cause it, so probably you got that fix now.
I'm glad it's now working for you
from react-native-blob-util.
"react-native-blob-util": "0.13.17"
in addition to doing having it as an added package as well?
when I tried doing this and it didn't fix it before: yarn add react-native-pdf react-native-blob-util fbjs
from react-native-blob-util.
are you using expo or a plain simple react-native project?
in my case this is not an expo project, it is a plain simple react-native project
from react-native-blob-util.
- Delete node_modules folder (or make sure to delete rn-ftech-blob)
- Install react-native-blob-util as a standard dependency for your project
That's all, it should work. It sounds like your app is trying to find the library within of react-native-pdf. But there it won't be installed
from react-native-blob-util.
Same thing here, any progress?
from react-native-blob-util.
are you using expo or a plain simple react-native project?
from react-native-blob-util.
It is an expo based project, but I already ejected
from react-native-blob-util.
@RonRadtke Do we have any update?
I have the same issue and I'm using it in a React native CLI 0.63.4 project
from react-native-blob-util.
Sadly not. So far I am still failing in reproducing the problem on my devices / machines.
Using it myself with RN 63.3 in production, so I doubt it's the RN version...
It's also working fine on a new project for me
Could you please try to run a gradlew clean and also clean npm modules / reinstall them?
It sounds like something is off when trying to load the reacht-native-blob-util.
from react-native-blob-util.
I actually managed to get this error now once too.
But I could find any reason for it. Resetting the build caches and reinstalling the NPM modules solved it for me.
from react-native-blob-util.
@RonRadtke I am still facing this issue, reinstalling node_modules did not work for me, even tried npm start -- --reset-cache
from react-native-blob-util.
@RonRadtke I am still facing this issue, reinstalling node_modules did not work for me, even tried npm start -- --reset-cache
I was facing this problem with RN65, redux-persist-filesystem-storage 4.0.0, which uses react-native-blob-util 0.13.12. Manually removing 0.13.12 and yarn add react-native-blob-util
installed 0.13.16, which fixed this problem for me.
from react-native-blob-util.
I am facing issue in it "react-native-blob-util": "^0.13.16",
inside "react-native-pdf": "^6.4.0",
"react-native": "0.63.4",
from react-native-blob-util.
This package is a dependency of redux-persist-filesystem-storage
. Force upgrading the nested dependency to 0.13.17
allowed the app to start without errors.
Thank you!
Edit: This is based on the advice above that version 0.13.16 resolves the problem. I just went ahead with the latest version instead ;)
from react-native-blob-util.
I'm also having the same issue with react-native-pdf 6.4 since they switch to react-native-blob-util from rn-fetch-blob. Any way to fix this? I've added the latest react-native-blob-util and still broke.
from react-native-blob-util.
ok I tried with what you said and I get this:
error: Error: Unable to resolve module react-native-blob-util from /Users/Corey/Code/aaa/qqq/node_modules/react-native-pdf/index.js: react-native-blob-util could not be found within the project or in these directories: node_modules/react-native-pdf/node_modules node_modules ../node_modules
from react-native-blob-util.
Facing this issues on react native: "0.66.1"
react-native-blob-util: "0.13.17".
Not working on ios
from react-native-blob-util.
Got the same issue here, I'm trying to use react-native-pdf.
I tried adding direct dependencies to react-native-blob-util versions .16, .17 and .18 to no avail
from react-native-blob-util.
Same problem, updated react-native-pdf
to newest version and according to their docs I installed react-native-blob-util
- version 0.13.18.
Android works fine but on iOS I get this error mentioned in the question:
TypeError: null is not an object (evaluating 'ReactNativeBlobUtil.DocumentDir')
.
edit: Problem disappeared after updating RN to 0.67.1
from react-native-blob-util.
For those who still face this issue, make sure you have linked the library in Podfile, and run npx pod-install
again after linking it.
pod 'react-native-blob-util', :path => '../node_modules/react-native-blob-util'
from react-native-blob-util.
Facing this same issues on
react native: "0.68.2"
react-native-pdf: "6.5.0",
react-native-blob-util: "0.13.18".
expo: "45.0.0"
how to make it work on expo
from react-native-blob-util.
Facing this same issues on react native: "0.68.2" react-native-pdf: "6.5.0", react-native-blob-util: "0.13.18". expo: "45.0.0"
how to make it work on expo
You would have to eject your project since we are using native components
from react-native-blob-util.
Related Issues (20)
- iOS privacy manifest HOT 1
- Android Download Manager notification only shows up at the end
- response.json() is throwing an Error in Android saying No such file or directory HOT 1
- dest.exists() check fails in writeStream() in files of type content:// HOT 1
- Using writeStream() with content:// Uris HOT 1
- File gets corrupted with readStream() with base64 when using bufferSize defaults
- java to kotlin change example HOT 5
- pathForAppGroup typescript error HOT 1
- Error opening APK file: installation package is corrupt HOT 3
- Integration network debugging react-native-debugger HOT 1
- Crash when readStream on IOS
- Problem with java.lang.RuntimeException: java.lang.IllegalStateException: Use of own trust manager but none defined HOT 1
- wifiOnly option doesn't work on iOS as expected
- copyToMediaStore does not work on Android versions lower than 10 HOT 2
- Upload Video [Error: The operation couldn’t be completed. Message too long] HOT 3
- [Error: Unexpected FileStorage response file: null] on android 14 HOT 1
- Run error in windows, due to the WindowsTargetPlatformMinVersion
- ReactNativeBlobUtil.fs does not work if path contains 'content://' HOT 1
- How to get access to assets file (issue opened after trouble shooting read). HOT 2
- Android 14 PDF Issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-blob-util.