Javascript 反应本机获取blob链接失败

Javascript 反应本机获取blob链接失败,javascript,android,reactjs,pdf,react-native,Javascript,Android,Reactjs,Pdf,React Native,我怎样才能纠正我的错误。我需要显示我的资产文件夹中的pdf。我在使用expo,react native,react native pdf Scanning folders for symlinks in C:\Users\kjdelacruz\mobile\cdo-mobile-organizer\node_modules (31ms) RNFetchBlob checking app version .. RNFetchBlob detected app version => 6 Add

我怎样才能纠正我的错误。我需要显示我的资产文件夹中的pdf。我在使用expo,react native,react native pdf

Scanning folders for symlinks in C:\Users\kjdelacruz\mobile\cdo-mobile-organizer\node_modules (31ms)
RNFetchBlob checking app version ..
RNFetchBlob detected app version => 6
Add Android permissions => false
react-native-fetch-blob link FAILED
Could not automatically link package :TypeError: path must be a string or Buffer
    at Object.fs.readFile (fs.js:358:11)
    at Object.<anonymous> (C:\Users\kjdelacruz\mobile\cdo-mobile-organizer\node_modules\react-native-fetch-blob\scripts\prelink.js:29:8)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Function.Module.runMain (module.js:605:10)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:575:3please follow the instructions to manually link the library : https://github.com/wkh237/react-native-fetch-blob/wiki/Manually-Link-Package

rnpm-install info Linking assets to ios project
rnpm-install ERR! Something went wrong while linking. Error: Cannot read property 'pbxprojPath' of null
Please file an issue here: https://github.com/facebook/react-native/issues

Cannot read property 'pbxprojPath' of null
在C:\Users\kjdelacruz\mobile\cdo mobile organizer\node_模块(31ms)中扫描文件夹中的符号链接
RNFetchBlob正在检查应用程序版本。。
检测到RNFetchBlob应用程序版本=>6
添加Android权限=>false
反应本机获取blob链接失败
无法自动链接包:TypeError:路径必须是字符串或缓冲区
位于Object.fs.readFile(fs.js:358:11)
反对。(C:\Users\kjdelacruz\mobile\cdo mobile organizer\node\u modules\react native fetch blob\scripts\prelink.js:29:8)
在模块处编译(Module.js:569:30)
在Object.Module.\u extensions..js(Module.js:580:10)
在Module.load(Module.js:503:32)
在tryModuleLoad时(module.js:466:12)
在Function.Module.\u加载(Module.js:458:3)
位于Function.Module.runMain(Module.js:605:10)
启动时(bootstrap_node.js:158:16)
在bootstrap_node.js:575:3中,请按照说明手动链接库:https://github.com/wkh237/react-native-fetch-blob/wiki/Manually-Link-Package
rnpm安装信息链接资产到ios项目
rnpm安装错误!链接时出错。错误:无法读取null的属性“pbxprojPath”
请在此处提交问题:https://github.com/facebook/react-native/issues
无法读取null的属性“pbxprojPath”

显然
rn fetch blob
与expo不兼容。我以前用expo和
rn fetch blob
处理过这个问题

“它不适用于Expo,因为Expo不支持本机模块链接。正如您所说,您必须从Expo中分离,才能运行react-native-link react-native-fetch blob使其工作。”

您需要使用XCode使其工作

有几条线索在讨论。但世博会没有解决方案


您是否在错误中提出了任何建议?因为您只显示了错误,而没有显示触发错误的代码,所以答案是菠萝