当前位置: 移动技术网 > IT编程>移动开发>IOS > 'React/RCTBundleURLProvider.h' file not found错误的解决办法

'React/RCTBundleURLProvider.h' file not found错误的解决办法

2018年09月13日  | 移动技术网IT编程  | 我要评论

最强大脑选手去世,守护甜心之血族三公主,善男信女 步微澜

'react/rctbundleurlprovider.h' file not found错误的解决办法

\

新建rn项目时在ios端用xcode跑时有时会遇到 'react/rctbundleurlprovider.h' file not found 错误,遇到这种错误一般有一下几种情况:

1. 没有执行 npm install 命令,没有安装依赖,此时执行 npm install 安装依赖即可.

2. 依赖已经安装,但还是会报这个错,此时将项目下node_modules文件夹删除,再次执行 npm install 命令安装依赖即可.

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网