rn-fetch-blob
rn-fetch-blob copied to clipboard
rn-fetch-blob has been ignored because it contains invalid configuration. "dependency.hooks"
Package rn-fetch-blob has been ignored because it contains invalid configuration. Reason: "dependency.hooks" is not allowed
React Native 0.69.1
same!
same!
same
Apparently, a workaround for this problem is deleting the node_modules/rn-fetch-blob/react-native.config.js
file.
and use patch-package
for commit patch
Same.
Due to https://github.com/react-native-community/cli/pull/1537 some things in react-native.config.js have been deprecated and removed, thus failing autolinking schema validation (for example dependency.hooks).
Steps to Reproduce
Create a vanilla RN project with latest 0.69.1 with npx react-native init Example. Add this package. Observe it not being autolinked.
same
Same!
Same too!
This is pretty critical since it makes this impossible to use on RN 0.69.1 without messing around with node_modules.
I'm currently having issues as well. RN v0.69.4
any solution ?
I fix it by removing "node_modules/rn-fetch-blob/react-native.config.js" file because it's removed from react native 0.69. Thanks to @gustavomts
A PR fix for this has been made and merged in here, and published to NPM.
It should be in the next version that comes out, but for now to fix this you can do:
yarn add [email protected]
@jvgeee thank you ! Do you know more or less when this 0.13 version should land please ?
@jvgeee when installing this beta version
getting application crash whenever sending a file on the server through fetch
or Axios
A PR fix for this has been made and merged in here, and published to NPM.
It should be in the next version that comes out, but for now to fix this you can do:
yarn add [email protected]
It causes an App crash or Network failure during a POST request. I mess up with it for 2 days and found that I am using this beta that is provided here. Really tired
Any idea of when 0.13 will be release?
its worked yarn add [email protected]
so what is the better solution?? upgrade to 0.13.0-beta.2 or remove react-native.config.js?
Yes, Its removed that log.
Feel free to move to my fork: https://www.npmjs.com/package/react-native-blob-util Since this lib here is kind of dead for years....