RN项目报错“RCTBundleURLProvider.h” file not found
来源:互联网 发布:华盛顿和李大学知乎 编辑:程序博客网 时间:2024/06/05 04:51
“RCTBundleURLProvider.h” file not found
从网上下载别人的ReactNative项目,打开iOS项目的时候,xcode会报错,提示:“RCTBundleURLProvider.h” file not found
解决方法:
打开Mac里面的终端,进入项目所在的文件夹目录;
把项目里面的 node_modules 文件夹删除掉,然后执行 npm install 命令
npm install安装完成后, 执行react-native upgrade命令
最后重新打开Xcode,clean一下,应该就没有问题了,我的就是这么解决的。
4 0
- RN项目报错“RCTBundleURLProvider.h” file not found
- RN项目报错“React/RCTBundleURLProvider.h” file not found
- 运行.xcworkspace项目后报错:'React/RCTBundleURLProvider.h’ file not found
- 'React/RCTBundleURLProvider.h’ file not found
- ReactNative报出 'React/RCTBundleURLProvider.h' file not found错误
- phonegap archive 报错 Cordova/CDVViewController.h' file not found
- phonegap archive 报错 Cordova/CDVViewController.h' file not found
- 报错 'openssl/asn1.h' file not found
- Xcode编译报错XCTest/XCTest.h file not found
- React Native 日常报错 'config.h' file not found
- .h file not found
- #import <Cocoa/Cocoa.h> 报错 Lexical or Preprocessor Issue 'Cocoa/Cocoa.h' file not found
- [React-native] 报React/RCTBridgeModule.h' file not found
- [React-native] 报React/RCTBridgeModule.h' file not found
- 高德地图#import <MAMapKit/MAMapKit.h> file not found的报错解决办法
- Cordova webapp archive时候 报错 Cordova/CDVViewController.h file not found
- 集成支付宝 报错 “openssl rsa.h file not found”
- "ASIHTTPRequest"使用报错:ARC forbids explicit...及#import <libxml/HTMLparser.h> file not found
- 考察数据科学家数据降维知识的40道题,快来测测吧
- web前端注册基础标准版(拥有提示和过滤功能)
- PHP中限制IP段访问、禁止IP提交表单
- struts2中的拦截器使用
- PAT1050 螺旋矩阵
- RN项目报错“RCTBundleURLProvider.h” file not found
- 细说 javaScript 创建对象
- Pytorch遇到的几个问题
- solr学习笔记(3)--使用solrj调用solr服务
- Azure Active Dirctory集成本地Active Dirctory
- Batch Normalization 学习笔记
- 23种设计模式之单例模式
- Matplotlib库
- qsort细节用法