'React/RCTBundleURLProvider.h' file not found

'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 命令安装依赖即可.
---------------------
作者:clf_programing
来源:CSDN
原文:https://blog.csdn.net/qq_33323251/article/details/79489179
版权声明:本文为博主原创文章,转载请附上博文链接!

posted @ 2018-11-03 21:42  老榕树  阅读(328)  评论(0编辑  收藏  举报