包 rn-fetch-blob 包含无效配置:不允许“dependency.hooks”

问题描述 投票:0回答:2

包 rn-fetch-blob 包含无效配置:不允许“dependency.hooks”。请使用“react-native config”命令验证其是否正确链接,并就此联系软件包维护人员。

package.json - “反应本机”:“0.69.2”, “rn-fetch-blob”:“^0.12.0”

react-native react-hooks dependencies rn-fetch-blob
2个回答
10
投票

只需从node_modules进入rn-fetch-blob包文件夹并删除react-native.config.js文件即可。


0
投票

但是在我的 rn-fetch blob 包中不存在react-native.config.js 文件,尽管存在警告问题 Package rn-fetch-blob contains invalid configuration: "dependency.hooks" is not allowed。请使用“react-native config”命令验证其是否正确链接,并就此联系软件包维护人员。 那怎么办??

© www.soinside.com 2019 - 2024. All rights reserved.