升级react-native(0.60)后,我遇到了React / {Any filename} .h'file not found error with different package错误

问题描述 投票:-1回答:1

无法构建应用程序,但使用其他软件包时出现导入文件未找到错误,但出现错误

所以我尝试通过导入来导入“ {Any filename} .h”

但是我经常遇到反应本征线性渐变,快速图像,webview等错误>>

  • 在这里,我尝试删除node_modules,然后npm install,然后再次重建应用程序。失败
  • 已清理项目,还删除了派生数据。这也行不通
  • 也已删除Pods
  • Podfile.lock,然后清理并运行pod安装”。什么都没用。

    ❌node_modules / react-native-fast-image / ios / FastImage / FFFastImageViewManager.h:1:9:找不到“ React / RCTViewManager.h”文件

❌node_modules / react-native-fast-image / ios / FastImage / RCTConvert + FFFastImage.h:1:9:找不到“ React / RCTConvert.h”文件

导入

^ ~~~~~~~~~~~~~~~~~~~

导入

React / RCTViewManager.h'文件未找到(这是由于线性渐变)包)

无法构建应用程序,我在使用不同的软件包时找不到导入文件时出现错误,因此我尝试通过导入来导入“ {Any filename} .h”,但是反复出现错误...

react-native linear-gradients
1个回答
0
投票

我亲自在Podefile上添加了一些代码,以解决您在此处遇到的标题搜索路径问题

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