react-native - 奇怪的反应原生承诺拒绝
问题描述
我不断收到此错误,但即使有哨兵我也无法追踪它
[Unhandled promise rejection: TypeError: Network request failed]
- node_modules\whatwg-fetch\dist\fetch.umd.js:473:29 in xhr.onerror
- node_modules\event-target-shim\dist\event-target-shim.js:818:39 in EventTarget.prototype.dispatchEvent
- node_modules\react-native\Libraries\Network\XMLHttpRequest.js:574:29 in setReadyState
- node_modules\react-native\Libraries\Network\XMLHttpRequest.js:388:25 in __didCompleteResponse
- node_modules\react-native\Libraries\vendor\emitter\EventEmitter.js:190:12 in emit
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:436:47 in __callFunction
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:111:26 in __guard$argument_0
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:384:10 in __guard
- node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:110:17 in __guard$argument_0
* [native code]:null in callFunctionReturnFlushedQueue
我怎样才能找到这个?
解决方案
推荐阅读
- typescript - NestJS 无法解析 UserController 的依赖关系
- php - 向 XML 添加字符串时发生数据丢失
- dialogflow-es - How to send a response to dialogflow later
- php - php preg_replace 为每个捕获组分配不同的替换模式
- python - 在 Python 中获取两个列表组合的最佳方法是什么 -
- c# - ProductInsert() 在当前上下文中不存在
- c# - 根据偶数在表中分配偶数个 FK
- node.js - 使用 Node.js 的简单 Alexa Audioplayer 指令
- angular - form controls stay filled out after redirect to same form Angular
- php - PHPWord代码无法编辑模板并另存为新文件